home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacOS Resource Fork
(archive/rsrc).
You can browse this item here: man.rsrc
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| MacOS Resource Fork (archive/rsrc)
| magic
| Supported |
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| BeOS Resource Data (archive/beOSResourceData)
| ext
| Unsupported |
1%
| dexvert
| AppleSingle (archive/appleSingle)
| fallback
| Supported |
1%
| dexvert
| TTComp Archive (archive/ttcomp)
| fallback
| Supported |
100%
| file
| AppleDouble encoded Macintosh file
| default
| |
99%
| file
| data
| default
| |
66%
| TrID
| Mac AppleDouble encoded
| default
| |
33%
| TrID
| TTComp archive compressed (bin-2K)
| default (weak)
| |
100%
| lsar
| AppleSingle
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [NSHC] |
macFileCreator | [NSHA] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 31 3d 4e 53 48 43 4e 53 | 48 41 01 00 00 00 00 00 |1=NSHCNS|HA......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 2e 96 00 00 2d 96 00 00 |........|....-...|
|00000060| 02 a7 15 05 0b 47 1b 66 | 01 d2 16 75 0b 48 03 d9 |.....G.f|...u.H..|
|00000070| 1b 66 01 1c 16 75 0b 49 | 03 da 1b 66 01 60 16 75 |.f...u.I|...f.`.u|
|00000080| 0b 4a 03 6d 61 6e 02 00 | 00 00 4e 53 48 43 4e 53 |.J.man..|..NSHCNS|
|00000090| 48 41 01 00 00 9c 00 c0 | 00 00 00 00 16 eb 00 00 |HA......|........|
|000000a0| 00 00 00 00 4e 53 48 43 | 4e 53 48 41 01 00 00 9c |....NSHC|NSHA....|
|000000b0| 00 c0 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 aa a9 84 45 | 00 00 00 00 00 00 31 3d |.......E|......1=|
|000000d0| 0b 54 17 04 15 02 0b 55 | 17 05 15 02 0b 56 17 01 |.T.....U|.....V..|
|000000e0| 15 02 0b 57 17 02 15 9b | 01 61 1a 10 15 66 01 60 |...W....|.a...f.`|
|000000f0| 1a 10 15 66 01 5f 1a 10 | 15 66 01 5e 1a 10 15 66 |...f._..|.f.^...f|
|00000100| 01 5d 1a 10 15 66 01 5c | 1a 10 15 7b 01 5b 1a 10 |.]...f.\|...{.[..|
|00000110| 15 75 01 5a 1a 10 15 09 | 01 59 1a 10 15 5c 0b 5c |.u.Z....|.Y...\.\|
|00000120| 1a 30 3c 01 00 00 01 00 | 00 01 76 d2 00 01 75 d2 |.0<.....|..v...u.|
|00000130| 00 00 00 32 00 5f 94 f8 | 08 74 00 00 00 1c 00 32 |...2._..|.t.....2|
|00000140| 00 00 48 45 41 44 00 00 | 00 0a 00 05 ff ff 00 00 |..HEAD..|........|
|00000150| 00 00 00 00 06 50 60 0e | 00 00 4e 53 48 43 3e 80 |.....P`.|..NSHC>.|
|00000160| 00 00 00 00 00 00 41 fa | ff ee 4e 71 4e 71 60 00 |......A.|..NqNq`.|
|00000170| 01 7c 20 6f 00 04 20 2f | 00 08 42 67 a9 ee 20 5f |.| o.. /|..Bg.. _|
|00000180| 50 4f 4e d0 4e 56 00 00 | 48 e7 01 30 26 6e 00 0c |PON.NV..|H..0&n..|
|00000190| 42 a7 2f 0b a9 a5 2e 1f | 20 07 54 80 20 4b a0 24 |B./.....| .T. K.$|
|000001a0| 20 4b a0 29 24 53 0c 32 | 00 0d 78 ff 67 0c 15 bc | K.)$S.2|..x.g...|
|000001b0| 00 0d 78 00 42 32 78 01 | 60 04 42 32 78 00 2f 0a |..x.B2x.|`.B2x./.|
|000001c0| 20 6e 00 08 20 68 00 14 | 4e 90 20 4b a0 2a 2e 8b | n.. h..|N. K.*..|
|000001d0| a9 a3 4c df 0c 80 4e 5e | 4e 75 6d 61 6e 5f 64 69 |..L...N^|Numan_di|
|000001e0| 73 70 4e 56 fe 00 48 e7 | 03 30 26 6e 00 08 7c 00 |spNV..H.|.0&n..|.|
|000001f0| 30 2e 00 10 48 c0 d0 80 | 30 33 08 08 20 4b d0 c0 |0...H...|03.. K..|
|00000200| 48 68 00 d0 48 6e fe 00 | 4e ba 03 7c 7e ff 48 6e |Hh..Hn..|N..|~.Hn|
|00000210| fe 00 20 6e 00 0c 20 68 | 00 40 4e 90 4a 40 4f ef |.. n.. h|.@N.J@O.|
|00000220| 00 0c 66 0a 42 67 48 6e | fe 00 a9 97 3e 1f 4a 47 |..f.BgHn|....>.JG|
|00000230| 6c 06 70 01 60 00 00 96 | 48 7a 00 ac 48 6e ff 00 |l.p.`...|Hz..Hn..|
|00000240| 4e ba 03 44 4a 6e 00 10 | 50 8f 66 24 30 2b 00 0a |N..DJn..|P.f$0+..|
|00000250| 20 4b d0 c0 48 68 00 d0 | 48 6e ff 00 4e ba 03 fc | K..Hh..|Hn..N...|
|00000260| 48 7a 00 82 48 6e ff 00 | 4e ba 03 f0 4f ef 00 10 |Hz..Hn..|N...O...|
|00000270| 0c 6b 00 02 00 06 6f 18 | 30 2b 00 0c 20 4b d0 c0 |.k....o.|0+.. K..|
|00000280| 48 68 00 d0 48 6e ff 00 | 4e ba 03 d0 50 8f 60 0e |Hh..Hn..|N...P.`.|
|00000290| 48 7a 00 4a 48 6e ff 00 | 4e ba 03 c0 50 8f 42 a7 |Hz.JHn..|N...P.B.|
|000002a0| 2f 3c 54 45 58 54 48 6e | ff 00 a9 a1 24 5f 20 0a |/<TEXTHn|....$_ .|
|000002b0| 66 04 7c 02 60 0c 2f 0a | 2f 2e 00 0c 4e ba fe c6 |f.|.`./.|/...N...|
|000002c0| 50 8f 4a 47 67 04 3f 07 | a9 9a 30 06 4c df 0c c0 |P.JGg.?.|..0.L...|
|000002d0| 4e 5e 4e 75 6d 61 6e 5f | 67 65 74 20 67 65 6e 65 |N^Numan_|get gene|
|000002e0| 72 61 6c 00 20 00 6d 61 | 6e 20 00 00 4e 56 00 00 |ral. .ma|n ..NV..|
|000002f0| 48 e7 03 30 26 6e 00 08 | 24 6e 00 0c 42 2b 00 02 |H..0&n..|$n..B+..|
|00000300| 7e 01 3f 3c 00 0a 2f 0a | 2f 0b 4e ba 00 ae 4a 40 |~.?<../.|/.N...J@|
|00000310| 4f ef 00 0a 66 56 3c 2b | 00 06 0c 46 00 02 6d 06 |O...fV<+|...F..m.|
|00000320| 0c 46 00 03 6f 0e 48 7a | 00 72 20 52 4e 90 7e fd |.F..o.Hz|.r RN.~.|
|00000330| 58 8f 60 30 3f 3c 00 01 | 2f 0a 2f 0b 4e ba fe a4 |X.`0?<..|/./.N...|
|00000340| 3e 00 4f ef 00 0a 67 1c | 42 67 2f 0a 2f 0b 4e ba |>.O...g.|Bg/./.N.|
|00000350| fe 92 3e 00 4f ef 00 0a | 67 0a 48 7a 00 20 20 52 |..>.O...|g.Hz. R|
|00000360| 4e 90 58 8f 37 47 00 04 | 42 2b 00 02 4c df 0c c0 |N.X.7G..|B+..L...|
|00000370| 4e 5e 4e 75 6d 61 69 6e | 20 20 20 20 1c 6d 61 6e |N^Numain| .man|
|00000380| 3a 20 4d 61 6e 75 61 6c | 20 50 61 67 65 20 4e 6f |: Manual| Page No|
|00000390| 74 20 46 6f 75 6e 64 2e | 0d 00 1e 55 73 61 67 65 |t Found.|...Usage|
|000003a0| 3a 20 6d 61 6e 20 63 6f | 6d 6d 61 6e 64 20 5b 73 |: man co|mmand [s|
|000003b0| 65 63 74 69 6f 6e 5d 2e | 0d 00 4e 56 00 00 20 6e |ection].|..NV.. n|
|000003c0| 00 08 30 10 b0 6e 00 10 | 67 1e 48 7a 00 2a 20 6e |..0..n..|g.Hz.* n|
|000003d0| 00 0c 20 50 4e 90 20 6e | 00 08 31 7c ff fe 00 04 |.. PN. n|..1|....|
|000003e0| 42 28 00 02 70 01 60 02 | 70 00 4e 5e 4e 75 6e 73 |B(..p.`.|p.N^Nuns|
|000003f0| 68 63 5f 62 61 64 2d 54 | 68 69 73 20 63 6f 6d 6d |hc_bad-T|his comm|
|00000400| 61 6e 64 20 69 73 20 6e | 6f 74 20 6f 66 20 61 20 |and is n|ot of a |
|00000410| 63 6f 6d 70 61 74 69 62 | 6c 65 20 76 65 72 73 69 |compatib|le versi|
|00000420| 6f 6e 2e 0d 4e 56 00 00 | 48 e7 1f 10 26 6e 00 08 |on..NV..|H...&n..|
|00000430| 7a 01 78 00 60 54 20 4b | d0 c5 3c 30 50 08 30 06 |z.x.`T K|..<0P.0.|
|00000440| 52 46 20 4b d0 c0 0c 28 | 00 2d 00 d0 66 34 76 00 |RF K...(|.-..f4v.|
|00000450| 60 22 be 2e 00 0c 66 02 | 38 05 0c 07 00 61 6d 06 |`"....f.|8....am.|
|00000460| 0c 07 00 7a 6f 0e 0c 07 | 00 41 6d 06 0c 07 00 5a |...zo...|.Am....Z|
|00000470| 6f 02 76 01 30 06 52 46 | 20 4b d0 c0 1e 28 00 d0 |o.v.0.RF| K...(..|
|00000480| 66 d0 4a 43 67 02 78 00 | 52 45 4a 44 66 06 ba 6b |f.JCg.x.|REJDf..k|
|00000490| 00 06 6d a2 30 04 4c df | 08 f8 4e 5e 4e 75 6e 73 |..m.0.L.|..N^Nuns|
|000004a0| 68 63 5f 67 6f 74 4e 56 | 00 00 48 e7 07 10 26 6e |hc_gotNV|..H...&n|
|000004b0| 00 08 7e 01 30 2e 00 0c | 48 c0 d0 80 3c 33 08 08 |..~.0...|H...<3..|
|000004c0| 20 4b d0 c6 0c 28 00 2d | 00 d0 66 12 52 46 60 0e | K...(.-|..f.RF`.|
|000004d0| 0c 05 00 30 6d 06 0c 05 | 00 39 6f 02 7e 00 4a 47 |...0m...|.9o.~.JG|
|000004e0| 67 0e 30 06 52 46 20 4b | d0 c0 1a 28 00 d0 66 e0 |g.0.RF K|...(..f.|
|000004f0| 30 07 4c df 08 e0 4e 5e | 4e 75 6e 73 68 63 5f 69 |0.L...N^|Nunshc_i|
|00000500| 73 5f 4e 56 00 00 48 e7 | 03 00 30 6e 00 0c d1 c8 |s_NV..H.|..0n....|
|00000510| d1 ee 00 08 3e 28 00 08 | 30 07 52 47 20 6e 00 08 |....>(..|0.RG n..|
|00000520| d0 c0 1c 28 00 d0 0c 06 | 00 2d 56 c0 44 00 48 80 |...(....|.-V.D.H.|
|00000530| 4c df 00 c0 4e 5e 4e 75 | 6e 73 68 63 5f 69 73 5f |L...N^Nu|nshc_is_|
|00000540| 4e 56 00 00 48 e7 03 00 | 7c 01 dc 6e 00 0c 7e 00 |NV..H...||..n..~.|
|00000550| 60 14 3f 06 2f 2e 00 08 | 4e ba ff a8 4a 40 5c 8f |`.?./...|N...J@\.|
|00000560| 67 02 3e 06 52 46 4a 47 | 66 0a 20 6e 00 08 bc 68 |g.>.RFJG|f. n...h|
|00000570| 00 06 6d de 30 07 4c df | 00 c0 4e 5e 4e 75 6e 73 |..m.0.L.|..N^Nuns|
|00000580| 68 63 5f 6e 65 78 4e 56 | 00 00 48 e7 03 00 7e 00 |hc_nexNV|..H...~.|
|00000590| 60 0a 52 47 20 6e 00 08 | 11 86 70 00 20 6e 00 0c |`.RG n..|..p. n..|
|000005a0| 52 ae 00 0c 1c 10 66 ea | 20 6e 00 08 10 87 4c df |R.....f.| n....L.|
|000005b0| 00 c0 4e 5e 4e 75 70 53 | 74 72 46 72 6f 6d 4e 56 |..N^NupS|trFromNV|
|000005c0| 00 00 2f 07 20 6e 00 0c | 52 ae 00 0c 22 6e 00 08 |../. n..|R..."n..|
|000005d0| 52 ae 00 08 1e 10 12 87 | 70 00 10 07 3e 00 60 12 |R.......|p...>.`.|
|000005e0| 20 6e 00 0c 52 ae 00 0c | 22 6e 00 08 52 ae 00 08 | n..R...|"n..R...|
|000005f0| 12 90 53 47 4a 47 6c e8 | 2e 1f 4e 5e 4e 75 70 53 |..SGJGl.|..N^NupS|
|00000600| 74 72 43 6f 70 79 4e 56 | 00 00 48 e7 07 10 26 6e |trCopyNV|..H...&n|
|00000610| 00 08 7e 00 1e 13 20 6e | 00 0c 7c 00 1c 10 4a 46 |..~... n|..|...JF|
|00000620| 67 28 30 07 d0 46 0c 40 | 01 00 6c 1e 7a 01 60 10 |g(0..F.@|..l.z.`.|
|00000630| 20 6e 00 0c 30 07 d0 45 | 17 b0 50 00 00 00 52 45 | n..0..E|..P...RE|
|00000640| bc 45 6c ec 10 07 d0 06 | 16 80 4c df 08 e0 4e 5e |.El.....|..L...N^|
|00000650| 4e 75 70 53 74 72 41 70 | 70 65 4e 56 00 00 48 e7 |NupStrAp|peNV..H.|
|00000660| 03 10 26 6e 00 08 7e 00 | 1e 13 60 06 52 47 17 86 |..&n..~.|..`.RG..|
|00000670| 70 00 20 6e 00 0c 52 ae | 00 0c 1c 10 66 ee 0c 47 |p. n..R.|....f..G|
|00000680| 01 00 6c 02 16 87 4c df | 08 c0 4e 5e 4e 75 70 53 |..l...L.|..N^NupS|
|00000690| 74 72 41 70 70 65 4e 56 | 00 00 2f 07 20 6e 00 08 |trAppeNV|../. n..|
|000006a0| 7e 00 1e 10 22 6e 00 0c | 70 00 10 11 b0 47 67 1c |~..."n..|p....Gg.|
|000006b0| 70 00 60 1e 20 6e 00 08 | 22 6e 00 0c 10 30 70 00 |p.`. n..|"n...0p.|
|000006c0| b0 31 70 00 67 04 70 00 | 60 08 53 47 4a 47 66 e4 |.1p.g.p.|`.SGJGf.|
|000006d0| 70 01 2e 1f 4e 5e 4e 75 | 70 53 74 72 45 71 75 61 |p...N^Nu|pStrEqua|
|000006e0| 4e 56 00 00 2f 07 20 6e | 00 08 52 ae 00 08 1e 10 |NV../. n|..R.....|
|000006f0| 20 6e 00 0c 52 ae 00 0c | be 10 67 04 70 00 60 06 | n..R...|..g.p.`.|
|00000700| 4a 07 66 e2 70 01 2e 1f | 4e 5e 4e 75 63 53 74 72 |J.f.p...|N^NucStr|
|00000710| 45 71 75 61 4e 56 00 00 | 2f 07 7e 00 60 02 52 47 |EquaNV..|/.~.`.RG|
|00000720| 20 6e 00 08 52 ae 00 08 | 4a 10 66 f2 30 07 2e 1f | n..R...|J.f.0...|
|00000730| 4e 5e 4e 75 63 53 74 72 | 4c 65 6e 20 4e 56 ff de |N^NucStr|Len NV..|
|00000740| 48 e7 07 10 3e 2e 00 0c | 26 6e 00 08 30 6e 00 0e |H...>...|&n..0n..|
|00000750| 2f 08 48 6e ff de 4e ba | fa 1a 7a 00 1a 2e ff de |/.Hn..N.|..z.....|
|00000760| be 45 6c 10 7c 00 60 08 | 17 bc 00 2a 60 00 52 46 |.El.|.`.|...*`.RF|
|00000770| be 46 6e f4 3c 07 60 1a | 4a 45 67 0e 30 05 53 45 |.Fn.<.`.|JEg.0.SE|
|00000780| 53 46 17 b6 00 de 60 00 | 60 08 53 46 17 bc 00 20 |SF....`.|`.SF... |
|00000790| 60 00 4a 46 66 e2 4c df | 08 e0 4e 5e 4e 75 63 53 |`.JFf.L.|..N^NucS|
|000007a0| 74 72 46 72 6f 6d 00 00 | 00 37 01 03 80 00 00 00 |trFrom..|.7......|
|000007b0| 05 31 2e 30 2e 33 2a 31 | 2e 30 2e 33 2c 20 a9 20 |.1.0.3*1|.0.3, . |
|000007c0| 4e 65 77 70 6f 72 74 20 | 53 6f 66 74 77 61 72 65 |Newport |Software|
|000007d0| 20 44 65 76 65 6c 6f 70 | 6d 65 6e 74 20 31 39 39 | Develop|ment 199|
|000007e0| 34 00 00 00 27 01 03 80 | 00 00 00 05 31 2e 30 2e |4...'...|....1.0.|
|000007f0| 33 1a 31 2e 30 2e 33 20 | 28 41 6e 20 6e 53 68 65 |3.1.0.3 |(An nShe|
|00000800| 6c 6c aa 20 43 6f 6d 6d | 61 6e 64 29 00 00 02 03 |ll. Comm|and)....|
|00000810| 0d 4e 41 4d 45 0d 0d 6d | 61 6e 20 2d 20 63 6f 6d |.NAME..m|an - com|
|00000820| 6d 61 6e 64 20 6c 69 6e | 65 20 6d 61 6e 75 61 6c |mand lin|e manual|
|00000830| 0d 0d 53 59 4e 4f 50 53 | 49 53 0d 0d 6d 61 6e 20 |..SYNOPS|IS..man |
|00000840| 63 6f 6d 6d 61 6e 64 20 | 5b 73 65 63 74 69 6f 6e |command |[section|
|00000850| 5d 0d 0d 44 45 53 43 52 | 49 50 54 49 4f 4e 0d 0d |]..DESCR|IPTION..|
|00000860| 54 68 65 20 22 6d 61 6e | 22 20 70 72 6f 67 72 61 |The "man|" progra|
|00000870| 6d 20 72 65 61 64 73 20 | 61 20 64 65 73 63 72 69 |m reads |a descri|
|00000880| 70 74 69 76 65 20 74 65 | 78 74 20 72 65 73 6f 75 |ptive te|xt resou|
|00000890| 72 63 65 20 66 72 6f 6d | 20 77 69 74 68 69 6e 20 |rce from| within |
|000008a0| 61 20 73 65 6c 65 63 74 | 65 64 20 63 6f 6d 6d 61 |a select|ed comma|
|000008b0| 6e 64 20 61 6e 64 20 77 | 72 69 74 65 73 20 74 68 |nd and w|rites th|
|000008c0| 61 74 20 74 65 78 74 20 | 74 6f 20 73 74 61 6e 64 |at text |to stand|
|000008d0| 61 72 64 20 6f 75 74 70 | 75 74 2e 0d 0d 4e 6f 74 |ard outp|ut...Not|
|000008e0| 65 3a 20 4d 61 6e 20 70 | 61 67 65 73 20 61 72 65 |e: Man p|ages are|
|000008f0| 20 61 76 61 69 6c 61 62 | 6c 65 20 66 6f 72 20 66 | availab|le for f|
|00000900| 6c 6f 77 2d 6f 66 2d 63 | 6f 6e 74 72 6f 6c 20 73 |low-of-c|ontrol s|
|00000910| 74 61 74 65 6d 65 6e 74 | 73 2c 20 62 75 74 20 74 |tatement|s, but t|
|00000920| 68 65 79 20 6d 75 73 74 | 20 62 65 20 71 75 6f 74 |hey must| be quot|
|00000930| 65 64 20 73 6f 20 74 68 | 61 74 20 74 68 65 20 73 |ed so th|at the s|
|00000940| 68 65 6c 6c 20 6b 6e 6f | 77 73 20 68 6f 77 20 74 |hell kno|ws how t|
|00000950| 6f 20 65 78 65 63 75 74 | 65 20 74 68 65 6d 3a 0d |o execut|e them:.|
|00000960| 0d 6d 61 6e 20 22 69 66 | 22 0d 6d 61 6e 20 22 77 |.man "if|".man "w|
|00000970| 68 69 6c 65 22 0d 0d 52 | 45 54 55 52 4e 20 43 4f |hile"..R|ETURN CO|
|00000980| 44 45 53 0d 0d 3c 30 09 | 45 72 72 6f 72 0d 30 09 |DES..<0.|Error.0.|
|00000990| 53 75 63 63 65 73 73 0d | 0d 53 45 45 20 41 4c 53 |Success.|.SEE ALS|
|000009a0| 4f 0d 0d 74 72 79 20 22 | 6d 61 6e 20 6d 61 6e 20 |O..try "|man man |
|000009b0| 72 65 73 6f 75 72 63 65 | 73 22 0d 0d 54 68 65 20 |resource|s"..The |
|000009c0| 6e 53 68 65 6c 6c 20 50 | 72 6f 67 72 61 6d 6d 65 |nShell P|rogramme|
|000009d0| 72 27 73 20 47 75 69 64 | 65 20 63 6f 6e 74 61 69 |r's Guid|e contai|
|000009e0| 6e 73 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 69 6e |ns addit|ional in|
|000009f0| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 6e 20 77 72 69 |formatio|n on wri|
|00000a00| 74 69 6e 67 20 6d 61 6e | 20 72 65 73 6f 75 72 63 |ting man| resourc|
|00000a10| 65 73 2e 00 00 01 1c 0d | 4d 41 4e 20 52 45 53 4f |es......|MAN RESO|
|00000a20| 55 52 43 45 53 0d 0d 54 | 6f 20 63 72 65 61 74 65 |URCES..T|o create|
|00000a30| 20 6d 61 6e 20 70 61 67 | 65 73 20 66 6f 72 20 79 | man pag|es for y|
|00000a40| 6f 75 72 20 6f 77 6e 20 | 63 6f 6d 6d 61 6e 64 73 |our own |commands|
|00000a50| 2c 20 63 72 65 61 74 65 | 20 54 45 58 54 20 72 65 |, create| TEXT re|
|00000a60| 73 6f 75 72 63 65 73 20 | 77 69 74 68 3a 0d 0d 31 |sources |with:..1|
|00000a70| 2e 20 20 20 20 20 52 65 | 73 6f 75 72 63 65 20 49 |. Re|source I|
|00000a80| 44 73 20 61 62 6f 76 65 | 20 73 69 78 74 65 65 6e |Ds above| sixteen|
|00000a90| 20 74 68 6f 75 73 61 6e | 64 2e 0d 32 2e 20 20 20 | thousan|d..2. |
|00000aa0| 20 20 52 65 73 6f 75 72 | 63 65 20 6e 61 6d 65 73 | Resour|ce names|
|00000ab0| 20 6f 66 20 74 68 65 20 | 66 6f 72 6d 61 74 20 22 | of the |format "|
|00000ac0| 6d 61 6e 20 73 75 62 6a | 65 63 74 22 0d 0d 4e 6f |man subj|ect"..No|
|00000ad0| 74 65 20 74 68 61 74 20 | 74 68 65 20 72 65 73 6f |te that |the reso|
|00000ae0| 75 72 63 65 20 77 69 74 | 68 20 74 68 65 20 6e 61 |urce wit|h the na|
|00000af0| 6d 65 20 22 6d 61 6e 20 | 67 65 6e 65 72 61 6c 22 |me "man |general"|
|00000b00| 20 69 73 20 75 73 65 64 | 20 77 68 65 6e 20 74 68 | is used| when th|
|00000b10| 65 20 75 73 65 72 20 64 | 6f 65 73 20 6e 6f 74 20 |e user d|oes not |
|00000b20| 73 70 65 63 69 66 79 20 | 61 20 73 75 62 6a 65 63 |specify |a subjec|
|00000b30| 74 2e 0d 00 00 02 34 0d | 4e 41 4d 45 0d 0d 73 65 |t.....4.|NAME..se|
|00000b40| 74 20 2d 20 73 65 74 20 | 65 6e 76 69 72 6f 6e 6d |t - set |environm|
|00000b50| 65 6e 74 61 6c 20 76 61 | 72 69 61 62 6c 65 73 0d |ental va|riables.|
|00000b60| 0d 53 59 4e 4f 50 53 49 | 53 0d 0d 73 65 74 20 6e |.SYNOPSI|S..set n|
|00000b70| 61 6d 65 20 5b 76 61 6c | 75 65 5d 0d 0d 44 45 53 |ame [val|ue]..DES|
|00000b80| 43 52 49 50 54 49 4f 4e | 0d 0d 54 68 65 20 22 73 |CRIPTION|..The "s|
|00000b90| 65 74 22 20 63 6f 6d 6d | 61 6e 64 20 61 6c 6c 6f |et" comm|and allo|
|00000ba0| 77 73 20 74 68 65 20 6f | 70 65 72 61 74 6f 72 20 |ws the o|perator |
|00000bb0| 74 6f 20 73 65 74 20 76 | 61 72 69 61 62 6c 65 73 |to set v|ariables|
|00000bc0| 20 77 69 74 68 69 6e 20 | 74 68 65 20 73 68 65 6c | within |the shel|
|00000bd0| 6c 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 2e 20 20 |l enviro|nment. |
|00000be0| 54 68 65 20 6e 6f 72 6d | 61 6c 20 73 79 6e 74 61 |The norm|al synta|
|00000bf0| 78 20 69 6e 63 6c 75 64 | 65 73 20 61 20 22 76 61 |x includ|es a "va|
|00000c00| 6c 75 65 22 20 73 74 72 | 69 6e 67 2e 20 20 49 66 |lue" str|ing. If|
|00000c10| 20 6e 6f 20 76 61 6c 75 | 65 20 69 73 20 67 69 76 | no valu|e is giv|
|00000c20| 65 6e 2c 20 74 68 65 20 | 73 68 65 6c 6c 20 76 61 |en, the |shell va|
|00000c30| 72 69 61 62 6c 65 20 69 | 73 20 73 65 74 20 65 71 |riable i|s set eq|
|00000c40| 75 61 6c 20 74 6f 20 61 | 20 6e 75 6c 6c 20 73 74 |ual to a| null st|
|00000c50| 72 69 6e 67 2e 0d 0d 56 | 61 72 69 61 62 6c 65 20 |ring...V|ariable |
|00000c60| 6e 61 6d 65 73 20 61 72 | 65 20 6c 69 6d 69 74 65 |names ar|e limite|
|00000c70| 64 20 74 6f 20 74 68 65 | 20 63 68 61 72 61 63 74 |d to the| charact|
|00000c80| 65 72 73 20 61 2d 7a 2c | 20 41 2d 5a 2c 20 30 2d |ers a-z,| A-Z, 0-|
|00000c90| 39 2c 20 5f 20 61 6e 64 | 20 6d 61 79 20 62 65 20 |9, _ and| may be |
|00000ca0| 33 31 20 63 68 61 72 61 | 63 74 65 72 73 20 69 6e |31 chara|cters in|
|00000cb0| 20 6c 65 6e 67 74 68 2e | 20 20 54 68 65 20 76 61 | length.| The va|
|00000cc0| 6c 75 65 20 73 74 72 69 | 6e 67 20 6d 61 79 20 63 |lue stri|ng may c|
|00000cd0| 6f 6e 74 61 69 6e 20 61 | 6e 79 20 63 68 61 72 61 |ontain a|ny chara|
|00000ce0| 63 74 65 72 20 61 6e 64 | 20 6d 61 79 20 62 65 20 |cter and| may be |
|00000cf0| 32 35 35 20 63 68 61 72 | 61 63 74 65 72 73 20 69 |255 char|acters i|
|00000d00| 6e 20 6c 65 6e 67 74 68 | 2e 0d 0d 52 45 54 55 52 |n length|...RETUR|
|00000d10| 4e 20 43 4f 44 45 53 0d | 0d 3c 30 09 41 6e 20 65 |N CODES.|.<0.An e|
|00000d20| 72 72 6f 72 20 70 72 65 | 76 65 6e 74 65 64 20 74 |rror pre|vented t|
|00000d30| 68 65 20 61 73 73 69 67 | 6e 6d 65 6e 74 0d 30 09 |he assig|nment.0.|
|00000d40| 53 75 63 63 65 73 73 66 | 75 6c 20 61 73 73 69 67 |Successf|ul assig|
|00000d50| 6e 6d 65 6e 74 0d 0d 53 | 45 45 20 41 4c 53 4f 0d |nment..S|EE ALSO.|
|00000d60| 0d 75 6e 73 65 74 2c 20 | 65 6e 76 00 00 01 64 0d |.unset, |env...d.|
|00000d70| 4e 41 4d 45 0d 0d 75 6e | 73 65 74 20 2d 20 72 65 |NAME..un|set - re|
|00000d80| 6d 6f 76 65 20 61 20 73 | 68 65 6c 6c 20 76 61 72 |move a s|hell var|
|00000d90| 69 61 62 6c 65 0d 0d 53 | 59 4e 4f 50 53 49 53 0d |iable..S|YNOPSIS.|
|00000da0| 0d 75 6e 73 65 74 20 6e | 61 6d 65 0d 0d 44 45 53 |.unset n|ame..DES|
|00000db0| 43 52 49 50 54 49 4f 4e | 0d 0d 54 68 65 20 22 75 |CRIPTION|..The "u|
|00000dc0| 6e 73 65 74 22 20 63 6f | 6d 6d 61 6e 64 20 72 65 |nset" co|mmand re|
|00000dd0| 6d 6f 76 65 73 20 74 68 | 65 20 6e 61 6d 65 64 20 |moves th|e named |
|00000de0| 76 61 72 69 61 62 6c 65 | 20 66 72 6f 6d 20 74 68 |variable| from th|
|00000df0| 65 20 73 68 65 6c 6c 20 | 65 6e 76 69 72 6f 6e 6d |e shell |environm|
|00000e00| 65 6e 74 2e 0d 0d 56 61 | 72 69 61 62 6c 65 20 6e |ent...Va|riable n|
|00000e10| 61 6d 65 73 20 61 72 65 | 20 6c 69 6d 69 74 65 64 |ames are| limited|
|00000e20| 20 74 6f 20 74 68 65 20 | 63 68 61 72 61 63 74 65 | to the |characte|
|00000e30| 72 73 20 61 2d 7a 2c 20 | 41 2d 5a 2c 20 30 2d 39 |rs a-z, |A-Z, 0-9|
|00000e40| 2c 20 5f 20 61 6e 64 20 | 6d 61 79 20 62 65 20 33 |, _ and |may be 3|
|00000e50| 31 20 63 68 61 72 61 63 | 74 65 72 73 20 69 6e 20 |1 charac|ters in |
|00000e60| 6c 65 6e 67 74 68 2e 0d | 0d 52 45 54 55 52 4e 20 |length..|.RETURN |
|00000e70| 43 4f 44 45 53 0d 0d 3c | 30 09 41 6e 20 65 72 72 |CODES..<|0.An err|
|00000e80| 6f 72 20 70 72 65 76 65 | 6e 74 65 64 20 74 68 65 |or preve|nted the|
|00000e90| 20 72 65 6d 6f 76 61 6c | 0d 30 09 53 75 63 63 65 | removal|.0.Succe|
|00000ea0| 73 73 66 75 6c 20 72 65 | 6d 6f 76 61 6c 20 6f 72 |ssful re|moval or|
|00000eb0| 20 6e 61 6d 65 20 6e 6f | 74 20 66 6f 75 6e 64 0d | name no|t found.|
|00000ec0| 0d 53 45 45 20 41 4c 53 | 4f 0d 0d 73 65 74 2c 20 |.SEE ALS|O..set, |
|00000ed0| 65 6e 76 00 00 01 d0 0d | 4e 41 4d 45 0d 0d 65 6e |env.....|NAME..en|
|00000ee0| 76 20 2d 20 6c 69 73 74 | 20 73 68 65 6c 6c 20 76 |v - list| shell v|
|00000ef0| 61 72 69 61 62 6c 65 73 | 0d 0d 53 59 4e 4f 50 53 |ariables|..SYNOPS|
|00000f00| 49 53 0d 0d 65 6e 76 20 | 5b 6e 61 6d 65 31 5d 20 |IS..env |[name1] |
|00000f10| 5b 6e 61 6d 65 32 5d 20 | 2e 20 2e 20 2e 20 0d 0d |[name2] |. . . ..|
|00000f20| 44 45 53 43 52 49 50 54 | 49 4f 4e 0d 0d 54 68 65 |DESCRIPT|ION..The|
|00000f30| 20 22 65 6e 76 22 20 63 | 6f 6d 6d 61 6e 64 20 77 | "env" c|ommand w|
|00000f40| 69 6c 6c 20 6c 69 73 74 | 20 74 68 65 20 63 75 72 |ill list| the cur|
|00000f50| 72 65 6e 74 20 73 68 65 | 6c 6c 20 65 6e 76 69 72 |rent she|ll envir|
|00000f60| 6f 6e 6d 65 6e 74 2e 20 | 20 56 61 72 69 61 62 6c |onment. | Variabl|
|00000f70| 65 73 20 61 72 65 20 6c | 69 73 74 65 64 20 77 69 |es are l|isted wi|
|00000f80| 74 68 20 74 68 65 69 72 | 20 76 61 6c 75 65 73 2e |th their| values.|
|00000f90| 20 20 49 66 20 6e 6f 20 | 70 61 72 61 6d 65 74 65 | If no |paramete|
|00000fa0| 72 73 20 61 72 65 20 67 | 69 76 65 6e 2c 20 61 6c |rs are g|iven, al|
|00000fb0| 6c 20 61 63 74 69 76 65 | 20 73 68 65 6c 6c 20 76 |l active| shell v|
|00000fc0| 61 72 69 61 62 6c 65 73 | 20 61 72 65 20 6c 69 73 |ariables| are lis|
|00000fd0| 74 65 64 2e 0d 0d 56 61 | 72 69 61 62 6c 65 20 6e |ted...Va|riable n|
|00000fe0| 61 6d 65 73 20 61 72 65 | 20 6c 69 6d 69 74 65 64 |ames are| limited|
|00000ff0| 20 74 6f 20 74 68 65 20 | 63 68 61 72 61 63 74 65 | to the |characte|
|00001000| 72 73 20 61 2d 7a 2c 20 | 41 2d 5a 2c 20 30 2d 39 |rs a-z, |A-Z, 0-9|
|00001010| 2c 20 5f 20 61 6e 64 20 | 6d 61 79 20 62 65 20 33 |, _ and |may be 3|
|00001020| 31 20 63 68 61 72 61 63 | 74 65 72 73 20 69 6e 20 |1 charac|ters in |
|00001030| 6c 65 6e 67 74 68 2e 0d | 0d 52 45 54 55 52 4e 20 |length..|.RETURN |
|00001040| 43 4f 44 45 53 0d 0d 3c | 30 09 41 6e 20 65 72 72 |CODES..<|0.An err|
|00001050| 6f 72 20 70 72 65 76 65 | 6e 74 65 64 20 74 68 65 |or preve|nted the|
|00001060| 20 73 65 61 72 63 68 0d | 30 09 53 75 63 63 65 73 | search.|0.Succes|
|00001070| 73 66 75 6c 20 73 65 61 | 72 63 68 20 28 69 6e 63 |sful sea|rch (inc|
|00001080| 2e 20 6e 61 6d 65 20 6e | 6f 74 20 66 6f 75 6e 64 |. name n|ot found|
|00001090| 29 0d 0d 53 45 45 20 41 | 4c 53 4f 0d 0d 73 65 74 |)..SEE A|LSO..set|
|000010a0| 2c 20 75 6e 73 65 74 00 | 00 01 d8 0d 4e 41 4d 45 |, unset.|....NAME|
|000010b0| 0d 0d 70 61 74 68 63 68 | 6b 20 2d 20 65 76 61 6c |..pathch|k - eval|
|000010c0| 75 61 74 65 73 20 61 20 | 66 75 6c 6c 20 6f 72 20 |uates a |full or |
|000010d0| 70 61 72 74 69 61 6c 20 | 70 61 74 68 6e 61 6d 65 |partial |pathname|
|000010e0| 0d 0d 53 59 4e 4f 50 53 | 49 53 0d 0d 70 61 74 68 |..SYNOPS|IS..path|
|000010f0| 63 68 6b 20 70 61 74 68 | 6e 61 6d 65 0d 0d 44 45 |chk path|name..DE|
|00001100| 53 43 52 49 50 54 49 4f | 4e 0d 0d 54 68 65 20 6e |SCRIPTIO|N..The n|
|00001110| 53 68 65 6c 6c 20 65 6e | 76 69 72 6f 6e 6d 65 6e |Shell en|vironmen|
|00001120| 74 20 75 73 65 73 20 74 | 72 61 64 69 74 69 6f 6e |t uses t|radition|
|00001130| 61 6c 20 4d 61 63 69 6e | 74 6f 73 68 20 70 61 74 |al Macin|tosh pat|
|00001140| 68 6e 61 6d 65 73 2e 20 | 20 54 68 65 20 22 70 61 |hnames. | The "pa|
|00001150| 74 68 63 68 6b 22 20 63 | 6f 6d 6d 61 6e 64 20 69 |thchk" c|ommand i|
|00001160| 73 20 69 6e 63 6c 75 64 | 65 64 20 74 6f 20 61 6c |s includ|ed to al|
|00001170| 6c 6f 77 20 74 68 65 20 | 75 73 65 72 20 74 6f 20 |low the |user to |
|00001180| 65 78 70 65 72 69 6d 65 | 6e 74 20 77 69 74 68 20 |experime|nt with |
|00001190| 74 68 6f 73 65 20 70 61 | 74 68 6e 61 6d 65 73 2e |those pa|thnames.|
|000011a0| 0d 0d 47 69 76 65 6e 20 | 61 20 66 75 6c 6c 20 6f |..Given |a full o|
|000011b0| 72 20 70 61 72 74 69 61 | 6c 20 70 61 74 68 6e 61 |r partia|l pathna|
|000011c0| 6d 65 2c 20 70 61 74 68 | 63 68 6b 20 77 69 6c 6c |me, path|chk will|
|000011d0| 20 65 63 68 6f 20 74 68 | 65 20 65 71 75 69 76 61 | echo th|e equiva|
|000011e0| 6c 65 6e 74 20 66 75 6c | 6c 20 70 61 74 68 6e 61 |lent ful|l pathna|
|000011f0| 6d 65 2e 0d 0d 50 61 74 | 68 63 68 6b 20 64 6f 65 |me...Pat|hchk doe|
|00001200| 73 20 6e 6f 74 20 63 68 | 65 63 6b 20 74 6f 20 73 |s not ch|eck to s|
|00001210| 65 65 20 69 66 20 61 6e | 79 20 6f 66 20 74 68 65 |ee if an|y of the|
|00001220| 20 73 70 65 63 69 66 69 | 65 64 20 76 6f 6c 75 6d | specifi|ed volum|
|00001230| 65 73 2c 20 64 69 72 65 | 63 74 6f 72 69 65 73 2c |es, dire|ctories,|
|00001240| 20 6f 72 20 66 69 6c 65 | 73 20 65 78 69 73 74 2e | or file|s exist.|
|00001250| 0d 0d 52 45 54 55 52 4e | 20 43 4f 44 45 53 0d 0d |..RETURN| CODES..|
|00001260| 3c 30 09 45 72 72 6f 72 | 0d 30 09 53 75 63 63 65 |<0.Error|.0.Succe|
|00001270| 73 73 0d 0d 53 45 45 20 | 41 4c 53 4f 0d 0d 77 68 |ss..SEE |ALSO..wh|
|00001280| 69 63 68 00 00 02 44 0d | 4e 41 4d 45 0d 0d 77 68 |ich...D.|NAME..wh|
|00001290| 69 63 68 20 2d 20 77 68 | 69 63 68 20 63 6f 70 79 |ich - wh|ich copy|
|000012a0| 20 6f 66 20 61 20 63 6f | 6d 6d 61 6e 64 20 77 69 | of a co|mmand wi|
|000012b0| 6c 6c 20 62 65 20 75 73 | 65 64 0d 0d 53 59 4e 4f |ll be us|ed..SYNO|
|000012c0| 50 53 49 53 0d 0d 77 68 | 69 63 68 20 63 6f 6d 6d |PSIS..wh|ich comm|
|000012d0| 61 6e 64 0d 0d 44 45 53 | 43 52 49 50 54 49 4f 4e |and..DES|CRIPTION|
|000012e0| 0d 0d 22 77 68 69 63 68 | 22 20 65 78 61 6d 69 6e |.."which|" examin|
|000012f0| 65 73 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 2d 73 |es the c|ommand-s|
|00001300| 65 61 72 63 68 2d 70 61 | 74 68 2c 20 61 6e 64 20 |earch-pa|th, and |
|00001310| 72 65 74 75 72 6e 73 20 | 74 68 65 20 6c 6f 63 61 |returns |the loca|
|00001320| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 63 6f 6d 6d |tion of |the comm|
|00001330| 61 6e 64 20 77 68 69 63 | 68 20 77 6f 75 6c 64 20 |and whic|h would |
|00001340| 62 65 20 65 78 65 63 75 | 74 65 64 2e 0d 0d 54 68 |be execu|ted...Th|
|00001350| 65 20 77 68 69 63 68 20 | 63 6f 6d 6d 61 6e 64 20 |e which |command |
|00001360| 66 69 72 73 74 20 63 68 | 65 63 6b 73 20 74 6f 20 |first ch|ecks to |
|00001370| 73 65 65 20 69 66 20 74 | 68 65 20 73 70 65 63 69 |see if t|he speci|
|00001380| 66 69 65 64 20 63 6f 6d | 6d 61 6e 64 20 69 73 20 |fied com|mand is |
|00001390| 69 6e 74 65 72 6e 61 6c | 20 74 6f 20 74 68 65 20 |internal| to the |
|000013a0| 6e 53 68 65 6c 6c 20 61 | 70 70 6c 69 63 61 74 69 |nShell a|pplicati|
|000013b0| 6f 6e 2e 20 20 45 61 63 | 68 20 64 69 72 65 63 74 |on. Eac|h direct|
|000013c0| 6f 72 79 20 69 6e 20 74 | 68 65 20 73 65 61 72 63 |ory in t|he searc|
|000013d0| 68 20 70 61 74 68 20 69 | 73 20 74 68 65 6e 20 65 |h path i|s then e|
|000013e0| 78 61 6d 69 6e 65 64 20 | 74 6f 20 73 65 65 20 69 |xamined |to see i|
|000013f0| 66 20 69 74 20 63 6f 6e | 74 61 69 6e 73 20 61 6e |f it con|tains an|
|00001400| 20 65 78 74 65 72 6e 61 | 6c 20 63 6f 6d 6d 61 6e | externa|l comman|
|00001410| 64 20 6f 72 20 73 68 65 | 6c 6c 20 73 63 72 69 70 |d or she|ll scrip|
|00001420| 74 20 6f 66 20 74 68 65 | 20 67 69 76 65 6e 20 6e |t of the| given n|
|00001430| 61 6d 65 2e 20 20 41 6e | 79 20 27 54 45 58 54 27 |ame. An|y 'TEXT'|
|00001440| 20 66 69 6c 65 20 77 69 | 74 68 20 61 20 6d 61 74 | file wi|th a mat|
|00001450| 63 68 69 6e 67 20 6e 61 | 6d 65 20 69 73 20 61 73 |ching na|me is as|
|00001460| 73 75 6d 65 64 20 74 6f | 20 62 65 20 61 20 73 68 |sumed to| be a sh|
|00001470| 65 6c 6c 20 73 63 72 69 | 70 74 2e 0d 0d 52 45 54 |ell scri|pt...RET|
|00001480| 55 52 4e 20 43 4f 44 45 | 53 0d 0d 3c 30 09 45 72 |URN CODE|S..<0.Er|
|00001490| 72 6f 72 20 6f 72 20 63 | 6f 6d 6d 61 6e 64 20 6e |ror or c|ommand n|
|000014a0| 6f 74 20 66 6f 75 6e 64 | 0d 30 09 53 75 63 63 65 |ot found|.0.Succe|
|000014b0| 73 73 0d 0d 53 45 45 20 | 41 4c 53 4f 0d 0d 70 61 |ss..SEE |ALSO..pa|
|000014c0| 74 68 2c 20 70 61 74 68 | 63 68 6b 00 00 02 e1 0d |th, path|chk.....|
|000014d0| 4e 41 4d 45 0d 0d 70 61 | 74 68 20 2d 20 64 65 66 |NAME..pa|th - def|
|000014e0| 69 6e 65 20 61 20 63 6f | 6d 6d 61 6e 64 20 73 65 |ine a co|mmand se|
|000014f0| 61 72 63 68 20 70 61 74 | 68 0d 0d 53 59 4e 4f 50 |arch pat|h..SYNOP|
|00001500| 53 49 53 0d 0d 70 61 74 | 68 20 22 74 68 69 73 3a |SIS..pat|h "this:|
|00001510| 69 73 3a 70 61 74 68 3a | 6f 6e 65 2f 74 68 69 73 |is:path:|one/this|
|00001520| 3a 69 73 3a 70 61 74 68 | 3a 74 77 6f 22 0d 0d 44 |:is:path|:two"..D|
|00001530| 45 53 43 52 49 50 54 49 | 4f 4e 0d 0d 54 68 65 20 |ESCRIPTI|ON..The |
|00001540| 22 70 61 74 68 22 20 63 | 6f 6d 6d 61 6e 64 20 61 |"path" c|ommand a|
|00001550| 6c 6c 6f 77 73 20 74 68 | 65 20 75 73 65 72 20 74 |llows th|e user t|
|00001560| 6f 20 73 70 65 63 69 66 | 79 20 61 20 63 6f 6d 6d |o specif|y a comm|
|00001570| 61 6e 64 20 73 65 61 72 | 63 68 20 70 61 74 68 2e |and sear|ch path.|
|00001580| 20 20 54 68 65 20 70 61 | 74 68 20 69 73 20 73 74 | The pa|th is st|
|00001590| 6f 72 65 64 20 69 6e 20 | 74 68 65 20 24 50 41 54 |ored in |the $PAT|
|000015a0| 48 20 73 68 65 6c 6c 20 | 76 61 72 69 61 62 6c 65 |H shell |variable|
|000015b0| 2e 20 20 44 69 72 65 63 | 74 6f 72 69 65 73 20 61 |. Direc|tories a|
|000015c0| 72 65 20 73 65 70 61 72 | 61 74 65 64 20 62 79 20 |re separ|ated by |
|000015d0| 22 3a 22 2c 20 61 6e 64 | 20 70 61 74 68 73 20 61 |":", and| paths a|
|000015e0| 72 65 20 73 65 70 61 72 | 61 74 65 64 20 62 79 20 |re separ|ated by |
|000015f0| 22 2f 22 2e 20 20 41 20 | 73 69 6e 67 6c 65 20 22 |"/". A |single "|
|00001600| 3a 22 20 6d 61 79 20 62 | 65 20 75 73 65 64 20 74 |:" may b|e used t|
|00001610| 6f 20 73 70 65 63 69 66 | 79 20 74 68 65 20 63 75 |o specif|y the cu|
|00001620| 72 72 65 6e 74 20 64 69 | 72 65 63 74 6f 72 79 2c |rrent di|rectory,|
|00001630| 20 61 73 20 69 6e 20 22 | 70 61 74 68 20 3a 2f 74 | as in "|path :/t|
|00001640| 68 69 73 3a 69 73 3a 70 | 61 74 68 3a 74 77 6f 22 |his:is:p|ath:two"|
|00001650| 20 2e 0d 0d 41 6e 79 20 | 76 61 72 69 61 62 6c 65 | ...Any |variable|
|00001660| 73 20 75 73 65 64 20 69 | 6e 20 74 68 65 20 70 61 |s used i|n the pa|
|00001670| 74 68 20 61 72 65 20 65 | 76 61 6c 75 61 74 65 64 |th are e|valuated|
|00001680| 20 77 68 65 6e 20 79 6f | 75 20 69 73 73 75 65 20 | when yo|u issue |
|00001690| 74 68 65 20 70 61 74 68 | 20 63 6f 6d 6d 61 6e 64 |the path| command|
|000016a0| 2e 20 20 49 6e 20 74 68 | 65 20 63 6f 6d 6d 61 6e |. In th|e comman|
|000016b0| 64 20 22 70 61 74 68 20 | 24 48 4f 4d 45 3a 62 69 |d "path |$HOME:bi|
|000016c0| 6e 22 2c 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |n", the |value of|
|000016d0| 20 24 48 4f 4d 45 20 69 | 73 20 65 76 61 6c 75 61 | $HOME i|s evalua|
|000016e0| 74 65 64 20 69 6d 6d 65 | 64 69 61 74 65 6c 79 2e |ted imme|diately.|
|000016f0| 20 20 49 66 20 79 6f 75 | 20 63 68 61 6e 67 65 20 | If you| change |
|00001700| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 24 48 4f |the valu|e of $HO|
|00001710| 4d 45 20 6c 61 74 65 72 | 2c 20 74 68 65 20 70 61 |ME later|, the pa|
|00001720| 74 68 20 77 69 6c 6c 20 | 63 6f 6e 74 69 6e 75 65 |th will |continue|
|00001730| 20 74 6f 20 70 6f 69 6e | 74 20 74 6f 20 74 68 65 | to poin|t to the|
|00001740| 20 6f 72 69 67 69 6e 61 | 6c 20 3a 62 69 6e 20 64 | origina|l :bin d|
|00001750| 69 72 65 63 74 6f 72 79 | 2e 0d 0d 54 68 65 20 64 |irectory|...The d|
|00001760| 65 66 61 75 6c 74 20 70 | 61 74 68 20 69 73 20 22 |efault p|ath is "|
|00001770| 3a 2f 24 48 4f 4d 45 3a | 62 69 6e 22 2e 0d 0d 52 |:/$HOME:|bin"...R|
|00001780| 45 54 55 52 4e 20 43 4f | 44 45 53 0d 0d 3c 30 09 |ETURN CO|DES..<0.|
|00001790| 45 72 72 6f 72 0d 30 09 | 53 75 63 63 65 73 73 0d |Error.0.|Success.|
|000017a0| 0d 53 45 45 20 41 4c 53 | 4f 0d 0d 77 68 69 63 68 |.SEE ALS|O..which|
|000017b0| 00 00 00 f7 0d 4e 41 4d | 45 0d 0d 70 77 64 20 2d |.....NAM|E..pwd -|
|000017c0| 20 70 72 69 6e 74 20 77 | 6f 72 6b 69 6e 67 20 64 | print w|orking d|
|000017d0| 69 72 65 63 74 6f 72 79 | 0d 0d 53 59 4e 4f 50 53 |irectory|..SYNOPS|
|000017e0| 49 53 0d 0d 70 77 64 0d | 0d 44 45 53 43 52 49 50 |IS..pwd.|.DESCRIP|
|000017f0| 54 49 4f 4e 0d 0d 54 68 | 65 20 22 70 77 64 22 20 |TION..Th|e "pwd" |
|00001800| 63 6f 6d 6d 61 6e 64 20 | 70 72 69 6e 74 73 20 74 |command |prints t|
|00001810| 68 65 20 66 75 6c 6c 20 | 70 61 74 68 20 6f 66 20 |he full |path of |
|00001820| 74 68 65 20 63 75 72 72 | 65 6e 74 20 77 6f 72 6b |the curr|ent work|
|00001830| 69 6e 67 20 64 69 72 65 | 63 74 6f 72 79 2e 20 20 |ing dire|ctory. |
|00001840| 54 68 65 20 77 6f 72 6b | 69 6e 67 20 64 69 72 65 |The work|ing dire|
|00001850| 63 74 6f 72 79 20 69 73 | 20 73 74 6f 72 65 64 20 |ctory is| stored |
|00001860| 69 6e 20 74 68 65 20 24 | 50 57 44 20 73 68 65 6c |in the $|PWD shel|
|00001870| 6c 20 76 61 72 69 61 62 | 6c 65 2e 0d 0d 52 45 54 |l variab|le...RET|
|00001880| 55 52 4e 20 43 4f 44 45 | 53 0d 0d 3c 30 09 45 72 |URN CODE|S..<0.Er|
|00001890| 72 6f 72 0d 30 09 53 75 | 63 63 65 73 73 0d 0d 53 |ror.0.Su|ccess..S|
|000018a0| 45 45 20 41 4c 53 4f 0d | 0d 63 64 00 00 02 30 0d |EE ALSO.|.cd...0.|
|000018b0| 4e 41 4d 45 0d 0d 63 64 | 20 2d 20 63 68 61 6e 67 |NAME..cd| - chang|
|000018c0| 65 20 77 6f 72 6b 69 6e | 67 20 64 69 72 65 63 74 |e workin|g direct|
|000018d0| 6f 72 79 0d 0d 53 59 4e | 4f 50 53 49 53 0d 0d 63 |ory..SYN|OPSIS..c|
|000018e0| 64 20 22 74 68 69 73 3a | 69 73 3a 6d 79 20 6e 65 |d "this:|is:my ne|
|000018f0| 77 3a 70 61 74 68 22 0d | 0d 44 45 53 43 52 49 50 |w:path".|.DESCRIP|
|00001900| 54 49 4f 4e 0d 0d 54 68 | 65 20 22 63 64 22 20 63 |TION..Th|e "cd" c|
|00001910| 6f 6d 6d 61 6e 64 20 61 | 6c 6c 6f 77 73 20 74 68 |ommand a|llows th|
|00001920| 65 20 75 73 65 72 20 74 | 6f 20 73 70 65 63 69 66 |e user t|o specif|
|00001930| 79 20 61 20 6e 65 77 20 | 77 6f 72 6b 69 6e 67 20 |y a new |working |
|00001940| 64 69 72 65 63 74 6f 72 | 79 2e 20 20 54 68 65 20 |director|y. The |
|00001950| 77 6f 72 6b 69 6e 67 20 | 64 69 72 65 63 74 6f 72 |working |director|
|00001960| 79 20 69 73 20 68 65 6c | 64 20 69 6e 20 74 68 65 |y is hel|d in the|
|00001970| 20 24 50 57 44 20 73 68 | 65 6c 6c 20 76 61 72 69 | $PWD sh|ell vari|
|00001980| 61 62 6c 65 2e 20 20 49 | 66 20 61 20 70 61 72 74 |able. I|f a part|
|00001990| 69 61 6c 20 70 61 74 68 | 6e 61 6d 65 20 69 73 20 |ial path|name is |
|000019a0| 67 69 76 65 6e 2c 20 61 | 20 66 75 6c 6c 20 70 61 |given, a| full pa|
|000019b0| 74 68 20 69 73 20 67 65 | 6e 65 72 61 74 65 64 20 |th is ge|nerated |
|000019c0| 75 73 69 6e 67 20 74 68 | 65 20 65 78 69 73 74 69 |using th|e existi|
|000019d0| 6e 67 20 24 50 57 44 20 | 76 61 72 69 61 62 6c 65 |ng $PWD |variable|
|000019e0| 2e 20 20 49 66 20 6e 6f | 20 70 61 74 68 6e 61 6d |. If no| pathnam|
|000019f0| 65 20 69 73 20 67 69 76 | 65 6e 2c 20 74 68 65 20 |e is giv|en, the |
|00001a00| 75 73 65 72 20 69 73 20 | 72 65 74 75 72 6e 65 64 |user is |returned|
|00001a10| 20 74 6f 20 74 68 65 20 | 24 48 4f 4d 45 20 64 69 | to the |$HOME di|
|00001a20| 72 65 63 74 6f 72 79 2e | 0d 0d 50 61 74 68 6e 61 |rectory.|..Pathna|
|00001a30| 6d 65 73 20 63 6f 6e 73 | 69 73 74 20 6f 66 20 76 |mes cons|ist of v|
|00001a40| 6f 6c 75 6d 65 20 61 6e | 64 20 64 69 72 65 63 74 |olume an|d direct|
|00001a50| 6f 72 79 20 6e 61 6d 65 | 73 20 73 65 70 61 72 61 |ory name|s separa|
|00001a60| 74 65 64 20 62 79 20 27 | 3a 27 20 63 68 61 72 61 |ted by '|:' chara|
|00001a70| 63 74 65 72 73 2e 20 20 | 50 61 74 68 6e 61 6d 65 |cters. |Pathname|
|00001a80| 73 20 6d 61 79 20 62 65 | 20 22 71 75 6f 74 65 64 |s may be| "quoted|
|00001a90| 22 2c 20 61 6e 64 20 6d | 75 73 74 20 62 65 20 77 |", and m|ust be w|
|00001aa0| 68 65 6e 20 61 20 76 6f | 6c 75 6d 65 20 6f 72 20 |hen a vo|lume or |
|00001ab0| 64 69 72 65 63 74 6f 72 | 79 20 6e 61 6d 65 20 63 |director|y name c|
|00001ac0| 6f 6e 74 61 69 6e 73 20 | 61 20 73 70 61 63 65 2e |ontains |a space.|
|00001ad0| 0d 0d 53 45 45 20 41 4c | 53 4f 0d 0d 70 77 64 00 |..SEE AL|SO..pwd.|
|00001ae0| 00 02 4e 0d 4e 41 4d 45 | 0d 0d 74 68 65 6e 20 2d |..N.NAME|..then -|
|00001af0| 20 63 6f 6e 64 69 74 69 | 6f 6e 61 6c 20 65 78 65 | conditi|onal exe|
|00001b00| 63 75 74 69 6f 6e 0d 0d | 53 59 4e 4f 50 53 49 53 |cution..|SYNOPSIS|
|00001b10| 0d 0d 69 66 20 3c 63 6f | 6d 6d 61 6e 64 73 31 3e |..if <co|mmands1>|
|00001b20| 20 74 68 65 6e 20 3c 63 | 6f 6d 6d 61 6e 64 73 32 | then <c|ommands2|
|00001b30| 3e 20 5b 65 6c 73 65 20 | 3c 63 6f 6d 6d 61 6e 64 |> [else |<command|
|00001b40| 73 33 3e 5d 20 65 6e 64 | 69 66 0d 0d 44 45 53 43 |s3>] end|if..DESC|
|00001b50| 52 49 50 54 49 4f 4e 0d | 0d 49 66 20 74 68 65 20 |RIPTION.|.If the |
|00001b60| 72 65 73 75 6c 74 20 6f | 66 20 74 68 65 20 6c 61 |result o|f the la|
|00001b70| 73 74 20 63 6f 6d 6d 61 | 6e 64 20 6f 66 20 74 68 |st comma|nd of th|
|00001b80| 65 20 73 65 74 20 3c 63 | 6f 6d 6d 61 6e 64 73 31 |e set <c|ommands1|
|00001b90| 3e 20 63 6f 6d 70 6c 65 | 74 65 73 20 77 69 74 68 |> comple|tes with|
|00001ba0| 6f 75 74 20 65 72 72 6f | 72 20 28 72 65 73 75 6c |out erro|r (resul|
|00001bb0| 74 20 3d 20 7a 65 72 6f | 29 2c 20 74 68 65 6e 20 |t = zero|), then |
|00001bc0| 74 68 65 20 3c 63 6f 6d | 6d 61 6e 64 73 32 3e 20 |the <com|mands2> |
|00001bd0| 63 6c 61 75 73 65 20 77 | 69 6c 6c 20 62 65 20 65 |clause w|ill be e|
|00001be0| 78 65 63 75 74 65 64 2e | 0d 0d 49 66 20 74 68 65 |xecuted.|..If the|
|00001bf0| 20 72 65 73 75 6c 74 20 | 6f 66 20 74 68 65 20 6c | result |of the l|
|00001c00| 61 73 74 20 63 6f 6d 6d | 61 6e 64 20 6f 66 20 74 |ast comm|and of t|
|00001c10| 68 65 20 73 65 74 20 3c | 63 6f 6d 6d 61 6e 64 73 |he set <|commands|
|00001c20| 31 3e 20 70 72 6f 64 75 | 63 65 73 20 61 6e 20 65 |1> produ|ces an e|
|00001c30| 72 72 6f 72 20 28 72 65 | 73 75 6c 74 20 3c 3e 20 |rror (re|sult <> |
|00001c40| 7a 65 72 6f 29 2c 20 61 | 6e 64 20 61 6e 20 65 6c |zero), a|nd an el|
|00001c50| 73 65 2d 63 6c 61 75 73 | 65 20 69 73 20 70 72 65 |se-claus|e is pre|
|00001c60| 73 65 6e 74 2c 20 74 68 | 61 74 20 63 6c 61 75 73 |sent, th|at claus|
|00001c70| 65 20 77 69 6c 6c 20 65 | 78 65 63 75 74 65 2e 0d |e will e|xecute..|
|00001c80| 0d 46 6c 6f 77 20 6f 66 | 20 63 6f 6e 74 72 6f 6c |.Flow of| control|
|00001c90| 20 73 74 61 74 65 6d 65 | 6e 74 73 20 61 72 65 20 | stateme|nts are |
|00001ca0| 61 76 61 69 6c 61 62 6c | 65 20 69 6e 20 6e 53 68 |availabl|e in nSh|
|00001cb0| 65 6c 6c 2d 50 72 6f 28 | 74 6d 29 0d 0d 52 45 54 |ell-Pro(|tm)..RET|
|00001cc0| 55 52 4e 20 43 4f 44 45 | 53 0d 0d 3c 30 09 45 72 |URN CODE|S..<0.Er|
|00001cd0| 72 6f 72 0d 30 09 53 75 | 63 63 65 73 73 0d 0d 53 |ror.0.Su|ccess..S|
|00001ce0| 45 45 20 41 4c 53 4f 0d | 0d 77 68 69 6c 65 2c 20 |EE ALSO.|.while, |
|00001cf0| 75 6e 74 69 6c 0d 0d 45 | 58 41 4d 50 4c 45 53 0d |until..E|XAMPLES.|
|00001d00| 0d 69 66 20 79 65 73 6e | 6f 20 22 53 68 6f 75 6c |.if yesn|o "Shoul|
|00001d10| 64 20 49 20 73 61 79 20 | 68 65 6c 6c 6f 3f 22 20 |d I say |hello?" |
|00001d20| 74 68 65 6e 20 68 65 6c | 6c 6f 20 65 6e 64 69 66 |then hel|lo endif|
|00001d30| 0d 00 00 02 4b 0d 4e 41 | 4d 45 0d 0d 69 66 20 2d |....K.NA|ME..if -|
|00001d40| 20 63 6f 6e 64 69 74 69 | 6f 6e 61 6c 20 65 78 65 | conditi|onal exe|
|00001d50| 63 75 74 69 6f 6e 0d 0d | 53 59 4e 4f 50 53 49 53 |cution..|SYNOPSIS|
|00001d60| 0d 0d 69 66 20 3c 63 6f | 6d 6d 61 6e 64 73 31 3e |..if <co|mmands1>|
|00001d70| 20 74 68 65 6e 20 3c 63 | 6f 6d 6d 61 6e 64 73 32 | then <c|ommands2|
|00001d80| 3e 20 5b 65 6c 73 65 20 | 3c 63 6f 6d 6d 61 6e 64 |> [else |<command|
|00001d90| 73 33 3e 5d 20 65 6e 64 | 69 66 0d 0d 44 45 53 43 |s3>] end|if..DESC|
|00001da0| 52 49 50 54 49 4f 4e 0d | 0d 49 66 20 74 68 65 20 |RIPTION.|.If the |
|00001db0| 72 65 73 75 6c 74 20 6f | 66 20 74 68 65 20 6c 61 |result o|f the la|
|00001dc0| 73 74 20 63 6f 6d 6d 61 | 6e 64 20 6f 66 20 74 68 |st comma|nd of th|
|00001dd0| 65 20 73 65 74 20 3c 63 | 6f 6d 6d 61 6e 64 73 31 |e set <c|ommands1|
|00001de0| 3e 20 63 6f 6d 70 6c 65 | 74 65 73 20 77 69 74 68 |> comple|tes with|
|00001df0| 6f 75 74 20 65 72 72 6f | 72 20 28 72 65 73 75 6c |out erro|r (resul|
|00001e00| 74 20 3d 20 7a 65 72 6f | 29 2c 20 74 68 65 6e 20 |t = zero|), then |
|00001e10| 74 68 65 20 3c 63 6f 6d | 6d 61 6e 64 73 32 3e 20 |the <com|mands2> |
|00001e20| 63 6c 61 75 73 65 20 77 | 69 6c 6c 20 62 65 20 65 |clause w|ill be e|
|00001e30| 78 65 63 75 74 65 64 2e | 0d 0d 49 66 20 74 68 65 |xecuted.|..If the|
|00001e40| 20 72 65 73 75 6c 74 20 | 6f 66 20 74 68 65 20 6c | result |of the l|
|00001e50| 61 73 74 20 63 6f 6d 6d | 61 6e 64 20 6f 66 20 74 |ast comm|and of t|
|00001e60| 68 65 20 73 65 74 20 3c | 63 6f 6d 6d 61 6e 64 73 |he set <|commands|
|00001e70| 31 3e 20 70 72 6f 64 75 | 63 65 73 20 61 6e 20 65 |1> produ|ces an e|
|00001e80| 72 72 6f 72 20 28 72 65 | 73 75 6c 74 20 3c 3e 20 |rror (re|sult <> |
|00001e90| 7a 65 72 6f 29 2c 20 61 | 6e 64 20 61 6e 20 65 6c |zero), a|nd an el|
|00001ea0| 73 65 2d 63 6c 61 75 73 | 65 20 69 73 20 70 72 65 |se-claus|e is pre|
|00001eb0| 73 65 6e 74 2c 20 74 68 | 61 74 20 63 6c 61 75 73 |sent, th|at claus|
|00001ec0| 65 20 77 69 6c 6c 20 65 | 78 65 63 75 74 65 2e 0d |e will e|xecute..|
|00001ed0| 0d 46 6c 6f 77 20 6f 66 | 20 63 6f 6e 74 72 6f 6c |.Flow of| control|
|00001ee0| 20 73 74 61 74 65 6d 65 | 6e 74 73 20 61 72 65 20 | stateme|nts are |
|00001ef0| 61 76 61 69 6c 61 62 6c | 65 20 69 6e 20 6e 53 68 |availabl|e in nSh|
|00001f00| 65 6c 6c 2d 50 72 6f 28 | 74 6d 29 0d 0d 52 45 54 |ell-Pro(|tm)..RET|
|00001f10| 55 52 4e 20 43 4f 44 45 | 53 0d 0d 3c 30 09 45 72 |URN CODE|S..<0.Er|
|00001f20| 72 6f 72 0d 30 09 53 75 | 63 63 65 73 73 0d 0d 53 |ror.0.Su|ccess..S|
|00001f30| 45 45 20 41 4c 53 4f 0d | 0d 77 68 69 6c 65 2c 20 |EE ALSO.|.while, |
|00001f40| 75 6e 74 69 6c 0d 0d 45 | 58 41 4d 50 4c 45 53 0d |until..E|XAMPLES.|
|00001f50| 0d 69 66 20 79 65 73 6e | 6f 20 22 53 68 6f 75 6c |.if yesn|o "Shoul|
|00001f60| 64 20 49 20 73 61 79 20 | 68 65 6c 6c 6f 3f 22 20 |d I say |hello?" |
|00001f70| 74 68 65 6e 20 68 65 6c | 6c 6f 20 65 6e 64 69 66 |then hel|lo endif|
|00001f80| 00 00 02 4e 0d 4e 41 4d | 45 0d 0d 65 6c 73 65 20 |...N.NAM|E..else |
|00001f90| 2d 20 63 6f 6e 64 69 74 | 69 6f 6e 61 6c 20 65 78 |- condit|ional ex|
|00001fa0| 65 63 75 74 69 6f 6e 0d | 0d 53 59 4e 4f 50 53 49 |ecution.|.SYNOPSI|
|00001fb0| 53 0d 0d 69 66 20 3c 63 | 6f 6d 6d 61 6e 64 73 31 |S..if <c|ommands1|
|00001fc0| 3e 20 74 68 65 6e 20 3c | 63 6f 6d 6d 61 6e 64 73 |> then <|commands|
|00001fd0| 32 3e 20 5b 65 6c 73 65 | 20 3c 63 6f 6d 6d 61 6e |2> [else| <comman|
|00001fe0| 64 73 33 3e 5d 20 65 6e | 64 69 66 0d 0d 44 45 53 |ds3>] en|dif..DES|
|00001ff0| 43 52 49 50 54 49 4f 4e | 0d 0d 49 66 20 74 68 65 |CRIPTION|..If the|
|00002000| 20 72 65 73 75 6c 74 20 | 6f 66 20 74 68 65 20 6c | result |of the l|
|00002010| 61 73 74 20 63 6f 6d 6d | 61 6e 64 20 6f 66 20 74 |ast comm|and of t|
|00002020| 68 65 20 73 65 74 20 3c | 63 6f 6d 6d 61 6e 64 73 |he set <|commands|
|00002030| 31 3e 20 63 6f 6d 70 6c | 65 74 65 73 20 77 69 74 |1> compl|etes wit|
|00002040| 68 6f 75 74 20 65 72 72 | 6f 72 20 28 72 65 73 75 |hout err|or (resu|
|00002050| 6c 74 20 3d 20 7a 65 72 | 6f 29 2c 20 74 68 65 6e |lt = zer|o), then|
|00002060| 20 74 68 65 20 3c 63 6f | 6d 6d 61 6e 64 73 32 3e | the <co|mmands2>|
|00002070| 20 63 6c 61 75 73 65 20 | 77 69 6c 6c 20 62 65 20 | clause |will be |
|00002080| 65 78 65 63 75 74 65 64 | 2e 0d 0d 49 66 20 74 68 |executed|...If th|
|00002090| 65 20 72 65 73 75 6c 74 | 20 6f 66 20 74 68 65 20 |e result| of the |
|000020a0| 6c 61 73 74 20 63 6f 6d | 6d 61 6e 64 20 6f 66 20 |last com|mand of |
|000020b0| 74 68 65 20 73 65 74 20 | 3c 63 6f 6d 6d 61 6e 64 |the set |<command|
|000020c0| 73 31 3e 20 70 72 6f 64 | 75 63 65 73 20 61 6e 20 |s1> prod|uces an |
|000020d0| 65 72 72 6f 72 20 28 72 | 65 73 75 6c 74 20 3c 3e |error (r|esult <>|
|000020e0| 20 7a 65 72 6f 29 2c 20 | 61 6e 64 20 61 6e 20 65 | zero), |and an e|
|000020f0| 6c 73 65 2d 63 6c 61 75 | 73 65 20 69 73 20 70 72 |lse-clau|se is pr|
|00002100| 65 73 65 6e 74 2c 20 74 | 68 61 74 20 63 6c 61 75 |esent, t|hat clau|
|00002110| 73 65 20 77 69 6c 6c 20 | 65 78 65 63 75 74 65 2e |se will |execute.|
|00002120| 0d 0d 46 6c 6f 77 20 6f | 66 20 63 6f 6e 74 72 6f |..Flow o|f contro|
|00002130| 6c 20 73 74 61 74 65 6d | 65 6e 74 73 20 61 72 65 |l statem|ents are|
|00002140| 20 61 76 61 69 6c 61 62 | 6c 65 20 69 6e 20 6e 53 | availab|le in nS|
|00002150| 68 65 6c 6c 2d 50 72 6f | 28 74 6d 29 0d 0d 52 45 |hell-Pro|(tm)..RE|
|00002160| 54 55 52 4e 20 43 4f 44 | 45 53 0d 0d 3c 30 09 45 |TURN COD|ES..<0.E|
|00002170| 72 72 6f 72 0d 30 09 53 | 75 63 63 65 73 73 0d 0d |rror.0.S|uccess..|
|00002180| 53 45 45 20 41 4c 53 4f | 0d 0d 77 68 69 6c 65 2c |SEE ALSO|..while,|
|00002190| 20 75 6e 74 69 6c 0d 0d | 45 58 41 4d 50 4c 45 53 | until..|EXAMPLES|
|000021a0| 0d 0d 69 66 20 79 65 73 | 6e 6f 20 22 53 68 6f 75 |..if yes|no "Shou|
|000021b0| 6c 64 20 49 20 73 61 79 | 20 68 65 6c 6c 6f 3f 22 |ld I say| hello?"|
|000021c0| 20 74 68 65 6e 20 68 65 | 6c 6c 6f 20 65 6e 64 69 | then he|llo endi|
|000021d0| 66 0d 00 00 02 4f 0d 4e | 41 4d 45 0d 0d 65 6e 64 |f....O.N|AME..end|
|000021e0| 69 66 20 2d 20 63 6f 6e | 64 69 74 69 6f 6e 61 6c |if - con|ditional|
|000021f0| 20 65 78 65 63 75 74 69 | 6f 6e 0d 0d 53 59 4e 4f | executi|on..SYNO|
|00002200| 50 53 49 53 0d 0d 69 66 | 20 3c 63 6f 6d 6d 61 6e |PSIS..if| <comman|
|00002210| 64 73 31 3e 20 74 68 65 | 6e 20 3c 63 6f 6d 6d 61 |ds1> the|n <comma|
|00002220| 6e 64 73 32 3e 20 5b 65 | 6c 73 65 20 3c 63 6f 6d |nds2> [e|lse <com|
|00002230| 6d 61 6e 64 73 33 3e 5d | 20 65 6e 64 69 66 0d 0d |mands3>]| endif..|
|00002240| 44 45 53 43 52 49 50 54 | 49 4f 4e 0d 0d 49 66 20 |DESCRIPT|ION..If |
|00002250| 74 68 65 20 72 65 73 75 | 6c 74 20 6f 66 20 74 68 |the resu|lt of th|
|00002260| 65 20 6c 61 73 74 20 63 | 6f 6d 6d 61 6e 64 20 6f |e last c|ommand o|
|00002270| 66 20 74 68 65 20 73 65 | 74 20 3c 63 6f 6d 6d 61 |f the se|t <comma|
|00002280| 6e 64 73 31 3e 20 63 6f | 6d 70 6c 65 74 65 73 20 |nds1> co|mpletes |
|00002290| 77 69 74 68 6f 75 74 20 | 65 72 72 6f 72 20 28 72 |without |error (r|
|000022a0| 65 73 75 6c 74 20 3d 20 | 7a 65 72 6f 29 2c 20 74 |esult = |zero), t|
|000022b0| 68 65 6e 20 74 68 65 20 | 3c 63 6f 6d 6d 61 6e 64 |hen the |<command|
|000022c0| 73 32 3e 20 63 6c 61 75 | 73 65 20 77 69 6c 6c 20 |s2> clau|se will |
|000022d0| 62 65 20 65 78 65 63 75 | 74 65 64 2e 0d 0d 49 66 |be execu|ted...If|
|000022e0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 6f 66 20 74 | the res|ult of t|
|000022f0| 68 65 20 6c 61 73 74 20 | 63 6f 6d 6d 61 6e 64 20 |he last |command |
|00002300| 6f 66 20 74 68 65 20 73 | 65 74 20 3c 63 6f 6d 6d |of the s|et <comm|
|00002310| 61 6e 64 73 31 3e 20 70 | 72 6f 64 75 63 65 73 20 |ands1> p|roduces |
|00002320| 61 6e 20 65 72 72 6f 72 | 20 28 72 65 73 75 6c 74 |an error| (result|
|00002330| 20 3c 3e 20 7a 65 72 6f | 29 2c 20 61 6e 64 20 61 | <> zero|), and a|
|00002340| 6e 20 65 6c 73 65 2d 63 | 6c 61 75 73 65 20 69 73 |n else-c|lause is|
|00002350| 20 70 72 65 73 65 6e 74 | 2c 20 74 68 61 74 20 63 | present|, that c|
|00002360| 6c 61 75 73 65 20 77 69 | 6c 6c 20 65 78 65 63 75 |lause wi|ll execu|
|00002370| 74 65 2e 0d 0d 46 6c 6f | 77 20 6f 66 20 63 6f 6e |te...Flo|w of con|
|00002380| 74 72 6f 6c 20 73 74 61 | 74 65 6d 65 6e 74 73 20 |trol sta|tements |
|00002390| 61 72 65 20 61 76 61 69 | 6c 61 62 6c 65 20 69 6e |are avai|lable in|
|000023a0| 20 6e 53 68 65 6c 6c 2d | 50 72 6f 28 74 6d 29 0d | nShell-|Pro(tm).|
|000023b0| 0d 52 45 54 55 52 4e 20 | 43 4f 44 45 53 0d 0d 3c |.RETURN |CODES..<|
|000023c0| 30 09 45 72 72 6f 72 0d | 30 09 53 75 63 63 65 73 |0.Error.|0.Succes|
|000023d0| 73 0d 0d 53 45 45 20 41 | 4c 53 4f 0d 0d 77 68 69 |s..SEE A|LSO..whi|
|000023e0| 6c 65 2c 20 75 6e 74 69 | 6c 0d 0d 45 58 41 4d 50 |le, unti|l..EXAMP|
|000023f0| 4c 45 53 0d 0d 69 66 20 | 79 65 73 6e 6f 20 22 53 |LES..if |yesno "S|
|00002400| 68 6f 75 6c 64 20 49 20 | 73 61 79 20 68 65 6c 6c |hould I |say hell|
|00002410| 6f 3f 22 20 74 68 65 6e | 20 68 65 6c 6c 6f 20 65 |o?" then| hello e|
|00002420| 6e 64 69 66 0d 00 00 02 | 6c 0d 4e 41 4d 45 0d 0d |ndif....|l.NAME..|
|00002430| 77 68 69 6c 65 20 2d 20 | 63 6f 6e 64 69 74 69 6f |while - |conditio|
|00002440| 6e 61 6c 20 65 78 65 63 | 75 74 69 6f 6e 0d 0d 53 |nal exec|ution..S|
|00002450| 59 4e 4f 50 53 49 53 0d | 0d 77 68 69 6c 65 20 3c |YNOPSIS.|.while <|
|00002460| 63 6f 6d 6d 61 6e 64 73 | 31 3e 20 64 6f 20 3c 63 |commands|1> do <c|
|00002470| 6f 6d 6d 61 6e 64 73 32 | 3e 20 64 6f 6e 65 0d 0d |ommands2|> done..|
|00002480| 44 45 53 43 52 49 50 54 | 49 4f 4e 0d 0d 49 6e 20 |DESCRIPT|ION..In |
|00002490| 74 68 69 73 20 73 74 72 | 75 63 74 75 72 65 2c 20 |this str|ucture, |
|000024a0| 74 68 65 20 3c 63 6f 6d | 6d 61 6e 64 73 31 3e 20 |the <com|mands1> |
|000024b0| 63 6c 61 75 73 65 20 77 | 69 6c 6c 20 61 6c 77 61 |clause w|ill alwa|
|000024c0| 79 73 20 65 78 65 63 75 | 74 65 2e 20 20 49 66 20 |ys execu|te. If |
|000024d0| 74 68 65 20 72 65 73 75 | 6c 74 20 6f 66 20 74 68 |the resu|lt of th|
|000024e0| 65 20 6c 61 73 74 20 63 | 6f 6d 6d 61 6e 64 20 6f |e last c|ommand o|
|000024f0| 66 20 74 68 65 20 73 65 | 74 20 63 6f 6d 70 6c 65 |f the se|t comple|
|00002500| 74 65 73 20 77 69 74 68 | 6f 75 74 20 65 72 72 6f |tes with|out erro|
|00002510| 72 20 28 72 65 73 75 6c | 74 20 3d 20 7a 65 72 6f |r (resul|t = zero|
|00002520| 29 2c 20 74 68 65 6e 20 | 74 68 65 20 3c 63 6f 6d |), then |the <com|
|00002530| 6d 61 6e 64 73 32 3e 20 | 63 6c 61 75 73 65 20 77 |mands2> |clause w|
|00002540| 69 6c 6c 20 62 65 20 65 | 78 65 63 75 74 65 64 2e |ill be e|xecuted.|
|00002550| 20 20 43 6f 6e 74 72 6f | 6c 20 77 69 6c 6c 20 74 | Contro|l will t|
|00002560| 68 65 6e 20 72 65 74 75 | 72 6e 20 74 6f 20 74 68 |hen retu|rn to th|
|00002570| 65 20 3c 63 6f 6d 6d 61 | 6e 64 73 31 3e 20 63 6c |e <comma|nds1> cl|
|00002580| 61 75 73 65 2c 20 61 6e | 64 20 74 68 65 20 70 72 |ause, an|d the pr|
|00002590| 6f 63 65 73 73 20 77 69 | 6c 6c 20 63 6f 6e 74 69 |ocess wi|ll conti|
|000025a0| 6e 75 65 20 75 6e 74 69 | 6c 20 74 68 65 20 6c 61 |nue unti|l the la|
|000025b0| 73 74 20 63 6f 6d 6d 61 | 6e 64 20 6f 66 20 74 68 |st comma|nd of th|
|000025c0| 69 73 20 73 65 74 20 70 | 72 6f 64 75 63 65 73 20 |is set p|roduces |
|000025d0| 61 6e 20 65 72 72 6f 72 | 20 28 72 65 73 75 6c 74 |an error| (result|
|000025e0| 20 3c 3e 20 30 29 2e 0d | 0d 46 6c 6f 77 20 6f 66 | <> 0)..|.Flow of|
|000025f0| 20 63 6f 6e 74 72 6f 6c | 20 73 74 61 74 65 6d 65 | control| stateme|
|00002600| 6e 74 73 20 61 72 65 20 | 61 76 61 69 6c 61 62 6c |nts are |availabl|
|00002610| 65 20 69 6e 20 6e 53 68 | 65 6c 6c 2d 50 72 6f 28 |e in nSh|ell-Pro(|
|00002620| 74 6d 29 0d 0d 52 45 54 | 55 52 4e 20 43 4f 44 45 |tm)..RET|URN CODE|
|00002630| 53 0d 0d 3c 30 09 45 72 | 72 6f 72 0d 30 09 53 75 |S..<0.Er|ror.0.Su|
|00002640| 63 63 65 73 73 0d 0d 53 | 45 45 20 41 4c 53 4f 0d |ccess..S|EE ALSO.|
|00002650| 0d 75 6e 74 69 6c 2c 20 | 69 66 0d 0d 45 58 41 4d |.until, |if..EXAM|
|00002660| 50 4c 45 53 0d 0d 77 68 | 69 6c 65 20 79 65 73 6e |PLES..wh|ile yesn|
|00002670| 6f 20 22 53 68 6f 75 6c | 64 20 49 20 73 61 79 20 |o "Shoul|d I say |
|00002680| 68 65 6c 6c 6f 3f 22 20 | 64 6f 20 68 65 6c 6c 6f |hello?" |do hello|
|00002690| 20 64 6f 6e 65 00 00 02 | 74 0d 4e 41 4d 45 0d 0d | done...|t.NAME..|
|000026a0| 75 6e 74 69 6c 20 2d 20 | 63 6f 6e 64 69 74 69 6f |until - |conditio|
|000026b0| 6e 61 6c 20 65 78 65 63 | 75 74 69 6f 6e 0d 0d 53 |nal exec|ution..S|
|000026c0| 59 4e 4f 50 53 49 53 0d | 0d 75 6e 74 69 6c 20 3c |YNOPSIS.|.until <|
|000026d0| 63 6f 6d 6d 61 6e 64 73 | 31 3e 20 64 6f 20 3c 63 |commands|1> do <c|
|000026e0| 6f 6d 6d 61 6e 64 73 32 | 3e 20 64 6f 6e 65 0d 0d |ommands2|> done..|
|000026f0| 44 45 53 43 52 49 50 54 | 49 4f 4e 0d 0d 49 6e 20 |DESCRIPT|ION..In |
|00002700| 74 68 69 73 20 73 74 72 | 75 63 74 75 72 65 2c 20 |this str|ucture, |
|00002710| 74 68 65 20 3c 63 6f 6d | 6d 61 6e 64 73 31 3e 20 |the <com|mands1> |
|00002720| 63 6c 61 75 73 65 20 77 | 69 6c 6c 20 61 6c 77 61 |clause w|ill alwa|
|00002730| 79 73 20 65 78 65 63 75 | 74 65 2e 20 20 49 66 20 |ys execu|te. If |
|00002740| 74 68 65 20 72 65 73 75 | 6c 74 20 6f 66 20 74 68 |the resu|lt of th|
|00002750| 65 20 6c 61 73 74 20 63 | 6f 6d 6d 61 6e 64 20 6f |e last c|ommand o|
|00002760| 66 20 74 68 65 20 73 65 | 74 20 70 72 6f 64 75 63 |f the se|t produc|
|00002770| 65 73 20 61 6e 20 65 72 | 72 6f 72 20 28 72 65 73 |es an er|ror (res|
|00002780| 75 6c 74 20 3c 3e 20 7a | 65 72 6f 29 2c 20 74 68 |ult <> z|ero), th|
|00002790| 65 6e 20 74 68 65 20 3c | 63 6f 6d 6d 61 6e 64 73 |en the <|commands|
|000027a0| 32 3e 20 63 6c 61 75 73 | 65 20 77 69 6c 6c 20 62 |2> claus|e will b|
|000027b0| 65 20 65 78 65 63 75 74 | 65 64 2e 20 20 43 6f 6e |e execut|ed. Con|
|000027c0| 74 72 6f 6c 20 77 69 6c | 6c 20 74 68 65 6e 20 72 |trol wil|l then r|
|000027d0| 65 74 75 72 6e 20 74 6f | 20 74 68 65 20 3c 63 6f |eturn to| the <co|
|000027e0| 6d 6d 61 6e 64 73 31 3e | 20 63 6c 61 75 73 65 2c |mmands1>| clause,|
|000027f0| 20 61 6e 64 20 74 68 65 | 20 70 72 6f 63 65 73 73 | and the| process|
|00002800| 20 77 69 6c 6c 20 63 6f | 6e 74 69 6e 75 65 20 75 | will co|ntinue u|
|00002810| 6e 74 69 6c 20 74 68 65 | 20 6c 61 73 74 20 63 6f |ntil the| last co|
|00002820| 6d 6d 61 6e 64 20 6f 66 | 20 74 68 69 73 20 73 65 |mmand of| this se|
|00002830| 74 20 63 6f 6d 70 6c 65 | 74 65 73 20 77 69 74 68 |t comple|tes with|
|00002840| 6f 75 74 20 65 72 72 6f | 72 20 28 72 65 73 75 6c |out erro|r (resul|
|00002850| 74 20 3d 20 30 29 2e 0d | 0d 46 6c 6f 77 20 6f 66 |t = 0)..|.Flow of|
|00002860| 20 63 6f 6e 74 72 6f 6c | 20 73 74 61 74 65 6d 65 | control| stateme|
|00002870| 6e 74 73 20 61 72 65 20 | 61 76 61 69 6c 61 62 6c |nts are |availabl|
|00002880| 65 20 69 6e 20 6e 53 68 | 65 6c 6c 2d 50 72 6f 28 |e in nSh|ell-Pro(|
|00002890| 74 6d 29 0d 0d 52 45 54 | 55 52 4e 20 43 4f 44 45 |tm)..RET|URN CODE|
|000028a0| 53 0d 0d 3c 30 09 45 72 | 72 6f 72 0d 30 09 53 75 |S..<0.Er|ror.0.Su|
|000028b0| 63 63 65 73 73 0d 0d 53 | 45 45 20 41 4c 53 4f 0d |ccess..S|EE ALSO.|
|000028c0| 0d 77 68 69 6c 65 2c 20 | 69 66 0d 0d 45 58 41 4d |.while, |if..EXAM|
|000028d0| 50 4c 45 53 0d 0d 75 6e | 74 69 6c 20 79 65 73 6e |PLES..un|til yesn|
|000028e0| 6f 20 22 53 68 6f 75 6c | 64 20 49 20 53 54 4f 50 |o "Shoul|d I STOP|
|000028f0| 20 73 61 79 69 6e 67 20 | 68 65 6c 6c 6f 3f 22 20 | saying |hello?" |
|00002900| 64 6f 20 68 65 6c 6c 6f | 20 64 6f 6e 65 00 00 00 |do hello| done...|
|00002910| ca 0d 4e 41 4d 45 0d 0d | 64 6f 20 2d 20 63 6f 6e |..NAME..|do - con|
|00002920| 64 69 74 69 6f 6e 61 6c | 20 65 78 65 63 75 74 69 |ditional| executi|
|00002930| 6f 6e 0d 0d 53 59 4e 4f | 50 53 49 53 0d 0d 77 68 |on..SYNO|PSIS..wh|
|00002940| 69 6c 65 20 3c 63 6f 6d | 6d 61 6e 64 73 31 3e 20 |ile <com|mands1> |
|00002950| 64 6f 20 3c 63 6f 6d 6d | 61 6e 64 73 32 3e 20 64 |do <comm|ands2> d|
|00002960| 6f 6e 65 0d 0d 6f 72 0d | 0d 75 6e 74 69 6c 20 3c |one..or.|.until <|
|00002970| 63 6f 6d 6d 61 6e 64 73 | 31 3e 20 64 6f 20 3c 63 |commands|1> do <c|
|00002980| 6f 6d 6d 61 6e 64 73 32 | 3e 20 64 6f 6e 65 0d 0d |ommands2|> done..|
|00002990| 44 45 53 43 52 49 50 54 | 49 4f 4e 0d 0d 53 65 65 |DESCRIPT|ION..See|
|000029a0| 20 74 68 65 20 6d 61 6e | 20 70 61 67 65 20 66 6f | the man| page fo|
|000029b0| 72 20 22 77 68 69 6c 65 | 22 20 6f 72 20 22 75 6e |r "while|" or "un|
|000029c0| 74 69 6c 22 20 66 6f 72 | 20 6d 6f 72 65 20 69 6e |til" for| more in|
|000029d0| 66 6f 72 6d 61 74 69 6f | 6e 2e 0d 00 00 00 cc 0d |formatio|n.......|
|000029e0| 4e 41 4d 45 0d 0d 64 6f | 6e 65 20 2d 20 63 6f 6e |NAME..do|ne - con|
|000029f0| 64 69 74 69 6f 6e 61 6c | 20 65 78 65 63 75 74 69 |ditional| executi|
|00002a00| 6f 6e 0d 0d 53 59 4e 4f | 50 53 49 53 0d 0d 77 68 |on..SYNO|PSIS..wh|
|00002a10| 69 6c 65 20 3c 63 6f 6d | 6d 61 6e 64 73 31 3e 20 |ile <com|mands1> |
|00002a20| 64 6f 20 3c 63 6f 6d 6d | 61 6e 64 73 32 3e 20 64 |do <comm|ands2> d|
|00002a30| 6f 6e 65 0d 0d 6f 72 0d | 0d 75 6e 74 69 6c 20 3c |one..or.|.until <|
|00002a40| 63 6f 6d 6d 61 6e 64 73 | 31 3e 20 64 6f 20 3c 63 |commands|1> do <c|
|00002a50| 6f 6d 6d 61 6e 64 73 32 | 3e 20 64 6f 6e 65 0d 0d |ommands2|> done..|
|00002a60| 44 45 53 43 52 49 50 54 | 49 4f 4e 0d 0d 53 65 65 |DESCRIPT|ION..See|
|00002a70| 20 74 68 65 20 6d 61 6e | 20 70 61 67 65 20 66 6f | the man| page fo|
|00002a80| 72 20 22 77 68 69 6c 65 | 22 20 6f 72 20 22 75 6e |r "while|" or "un|
|00002a90| 74 69 6c 22 20 66 6f 72 | 20 6d 6f 72 65 20 69 6e |til" for| more in|
|00002aa0| 66 6f 72 6d 61 74 69 6f | 6e 2e 0d 00 00 01 e0 0d |formatio|n.......|
|00002ab0| 4e 41 4d 45 0d 0d 65 78 | 69 74 20 2d 20 65 78 69 |NAME..ex|it - exi|
|00002ac0| 74 20 73 63 72 69 70 74 | 0d 0d 53 59 4e 4f 50 53 |t script|..SYNOPS|
|00002ad0| 49 53 0d 0d 65 78 69 74 | 20 5b 72 65 74 75 72 6e |IS..exit| [return|
|00002ae0| 20 63 6f 64 65 5d 0d 0d | 44 45 53 43 52 49 50 54 | code]..|DESCRIPT|
|00002af0| 49 4f 4e 0d 0d 54 68 65 | 20 22 65 78 69 74 22 20 |ION..The| "exit" |
|00002b00| 63 6f 6d 6d 61 6e 64 20 | 63 61 75 73 65 73 20 61 |command |causes a|
|00002b10| 6e 20 69 6d 6d 65 64 69 | 61 74 65 20 72 65 74 75 |n immedi|ate retu|
|00002b20| 72 6e 20 66 72 6f 6d 20 | 61 20 73 63 72 69 70 74 |rn from |a script|
|00002b30| 2e 20 20 41 6e 20 69 6e | 74 65 67 65 72 20 72 65 |. An in|teger re|
|00002b40| 74 75 72 6e 20 63 6f 64 | 65 20 6d 61 79 20 62 65 |turn cod|e may be|
|00002b50| 20 73 65 74 20 61 6e 64 | 20 6c 61 74 65 72 20 61 | set and| later a|
|00002b60| 63 63 65 73 73 65 64 20 | 75 73 69 6e 67 20 74 68 |ccessed |using th|
|00002b70| 65 20 24 3f 20 70 73 65 | 75 64 6f 20 76 61 72 69 |e $? pse|udo vari|
|00002b80| 61 62 6c 65 2e 20 20 57 | 68 65 6e 20 6e 6f 20 70 |able. W|hen no p|
|00002b90| 61 72 61 6d 65 74 65 72 | 20 69 73 20 67 69 76 65 |arameter| is give|
|00002ba0| 6e 2c 20 61 20 63 6f 64 | 65 20 6f 66 20 30 20 69 |n, a cod|e of 0 i|
|00002bb0| 73 20 72 65 74 75 72 6e | 65 64 2e 0d 0d 57 68 65 |s return|ed...Whe|
|00002bc0| 6e 20 74 68 65 20 22 65 | 78 69 74 22 20 63 6f 6d |n the "e|xit" com|
|00002bd0| 6d 61 6e 64 20 69 73 20 | 75 73 65 64 20 6f 6e 20 |mand is |used on |
|00002be0| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |the comm|and line|
|00002bf0| 2c 20 69 74 20 63 61 6e | 63 65 6c 73 20 61 6c 6c |, it can|cels all|
|00002c00| 20 70 72 6f 63 65 73 73 | 69 6e 67 20 61 6e 64 20 | process|ing and |
|00002c10| 73 65 74 73 20 74 68 65 | 20 73 70 65 63 69 66 69 |sets the| specifi|
|00002c20| 65 64 20 72 65 74 75 72 | 6e 20 63 6f 64 65 2e 0d |ed retur|n code..|
|00002c30| 0d 45 58 41 4d 50 4c 45 | 53 0d 0d 23 0d 23 20 74 |.EXAMPLE|S..#.# t|
|00002c40| 65 73 74 20 75 73 61 67 | 65 0d 23 0d 69 66 20 2e |est usag|e.#.if .|
|00002c50| 6e 65 2e 20 24 23 20 32 | 20 74 68 65 6e 0d 20 20 |ne. $# 2| then. |
|00002c60| 20 20 65 63 68 6f 20 22 | 55 73 61 67 65 3a 20 63 | echo "|Usage: c|
|00002c70| 6d 64 20 66 69 6c 65 6e | 61 6d 65 22 0d 20 20 20 |md filen|ame". |
|00002c80| 20 65 78 69 74 20 2d 31 | 0d 65 6e 64 69 66 0d 00 | exit -1|.endif..|
|00002c90| 00 02 55 0d 4e 41 4d 45 | 0d 0d 65 78 70 6f 72 74 |..U.NAME|..export|
|00002ca0| 20 2d 20 65 78 70 6f 72 | 74 20 61 20 73 68 65 6c | - expor|t a shel|
|00002cb0| 6c 20 76 61 72 69 61 62 | 6c 65 20 66 72 6f 6d 20 |l variab|le from |
|00002cc0| 61 20 73 63 72 69 70 74 | 0d 0d 53 59 4e 4f 50 53 |a script|..SYNOPS|
|00002cd0| 49 53 0d 0d 65 78 70 6f | 72 74 20 76 61 72 69 61 |IS..expo|rt varia|
|00002ce0| 62 6c 65 5f 6e 61 6d 65 | 0d 0d 44 45 53 43 52 49 |ble_name|..DESCRI|
|00002cf0| 50 54 49 4f 4e 0d 0d 54 | 68 65 20 22 65 78 70 6f |PTION..T|he "expo|
|00002d00| 72 74 22 20 63 6f 6d 6d | 61 6e 64 20 63 6f 70 69 |rt" comm|and copi|
|00002d10| 65 73 20 61 20 73 68 65 | 6c 6c 20 76 61 72 69 61 |es a she|ll varia|
|00002d20| 62 6c 65 20 66 72 6f 6d | 20 74 68 65 20 63 75 72 |ble from| the cur|
|00002d30| 72 65 6e 74 20 73 63 72 | 69 70 74 20 65 6e 76 69 |rent scr|ipt envi|
|00002d40| 72 6f 6e 6d 65 6e 74 20 | 74 6f 20 74 68 61 74 20 |ronment |to that |
|00002d50| 6f 66 20 74 68 65 20 70 | 61 72 65 6e 74 2e 20 20 |of the p|arent. |
|00002d60| 54 68 65 20 22 65 78 70 | 6f 72 74 22 20 6f 70 65 |The "exp|ort" ope|
|00002d70| 72 61 74 69 6f 6e 20 63 | 6f 70 69 65 73 20 76 61 |ration c|opies va|
|00002d80| 72 69 61 62 6c 65 73 20 | 75 70 20 61 20 73 69 6e |riables |up a sin|
|00002d90| 67 6c 65 20 6c 65 76 65 | 6c 2e 20 20 54 6f 20 65 |gle leve|l. To e|
|00002da0| 78 70 6f 72 74 20 76 61 | 72 69 61 62 6c 65 73 20 |xport va|riables |
|00002db0| 66 72 6f 6d 20 6e 65 73 | 74 65 64 20 73 63 72 69 |from nes|ted scri|
|00002dc0| 70 74 73 2c 20 61 20 73 | 65 72 69 65 73 20 6f 66 |pts, a s|eries of|
|00002dd0| 20 22 65 78 70 6f 72 74 | 22 20 63 6f 6d 6d 61 6e | "export|" comman|
|00002de0| 64 73 20 77 6f 75 6c 64 | 20 62 65 20 72 65 71 75 |ds would| be requ|
|00002df0| 69 72 65 64 2e 0d 0d 54 | 68 65 20 22 65 78 70 6f |ired...T|he "expo|
|00002e00| 72 74 22 20 63 6f 6d 6d | 61 6e 64 20 73 68 6f 75 |rt" comm|and shou|
|00002e10| 6c 64 20 6f 6e 6c 79 20 | 62 65 20 75 73 65 64 20 |ld only |be used |
|00002e20| 66 72 6f 6d 20 77 69 74 | 68 69 6e 20 73 63 72 69 |from wit|hin scri|
|00002e30| 70 74 73 2c 20 61 6e 64 | 20 66 61 69 6c 73 20 77 |pts, and| fails w|
|00002e40| 68 65 6e 20 74 79 70 65 | 64 20 64 69 72 65 63 74 |hen type|d direct|
|00002e50| 6c 79 20 6f 6e 20 74 68 | 65 20 63 6f 6d 6d 61 6e |ly on th|e comman|
|00002e60| 64 20 6c 69 6e 65 2e 0d | 0d 45 58 41 4d 50 4c 45 |d line..|.EXAMPLE|
|00002e70| 53 0d 0d 23 0d 23 20 73 | 65 74 20 74 68 65 20 77 |S..#.# s|et the w|
|00002e80| 6f 72 6b 69 6e 67 20 64 | 69 72 65 63 74 6f 72 79 |orking d|irectory|
|00002e90| 20 61 6e 64 20 65 78 70 | 6f 72 74 20 74 68 65 20 | and exp|ort the |
|00002ea0| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 76 61 |correspo|nding va|
|00002eb0| 72 69 61 62 6c 65 0d 23 | 0d 63 64 20 22 6d 79 20 |riable.#|.cd "my |
|00002ec0| 64 69 73 6b 3a 6d 79 20 | 66 61 76 6f 72 69 74 65 |disk:my |favorite|
|00002ed0| 20 74 6f 6f 6c 73 3a 74 | 6f 6f 6c 73 22 0d 65 78 | tools:t|ools".ex|
|00002ee0| 70 6f 72 74 20 50 57 44 | 00 00 01 00 00 00 2e 96 |port PWD|........|
|00002ef0| 00 00 2d 96 00 00 02 a7 | 00 51 ca 2c 0a a8 00 00 |..-.....|.Q.,....|
|00002f00| 00 1c 01 4a 00 02 4e 53 | 48 43 00 00 00 1a 76 65 |...J..NS|HC....ve|
|00002f10| 72 73 00 01 00 26 54 45 | 58 54 00 13 00 3e 3e 80 |rs...&TE|XT...>>.|
|00002f20| 00 00 20 00 00 00 00 51 | c9 9c 00 01 ff ff 00 00 |.. ....Q|........|
|00002f30| 06 54 00 51 c9 98 00 02 | ff ff 00 00 06 8f 00 00 |.T.Q....|........|
|00002f40| 00 00 3e 80 00 08 00 00 | 06 ba 00 51 ca d4 3e 8a |..>.....|...Q..>.|
|00002f50| 00 18 00 00 08 c1 00 00 | 00 00 3e 94 00 2a 00 00 |........|..>..*..|
|00002f60| 09 e1 00 00 00 00 3e 9e | 00 3a 00 00 0c 19 00 00 |......>.|.:......|
|00002f70| 00 00 3e a8 00 4c 00 00 | 0d 81 00 00 00 00 3e d0 |..>..L..|......>.|
|00002f80| 00 5c 00 00 0f 55 00 00 | 00 00 3e da 00 70 00 00 |.\...U..|..>..p..|
|00002f90| 11 31 00 00 00 00 3e c6 | 00 82 00 00 13 79 00 00 |.1....>.|.....y..|
|00002fa0| 00 00 3e bc 00 93 00 00 | 16 5e 00 00 00 00 3e b2 |..>.....|.^....>.|
|00002fb0| 00 a3 00 00 17 59 00 00 | 00 00 3f 02 00 b2 00 00 |.....Y..|..?.....|
|00002fc0| 19 8d 00 00 00 00 3e f8 | 00 c3 00 00 1b df 00 00 |......>.|........|
|00002fd0| 00 00 3f 0c 00 d2 00 00 | 1e 2e 00 00 00 00 3f 16 |..?.....|......?.|
|00002fe0| 00 e3 00 00 20 80 00 00 | 00 00 3f 20 00 f5 00 00 |.... ...|..? ....|
|00002ff0| 22 d3 00 00 00 00 3f 2a | 01 07 00 00 25 43 00 00 |".....?*|....%C..|
|00003000| 00 00 3f 34 01 19 00 00 | 27 bb 00 00 00 00 3f 3e |..?4....|'.....?>|
|00003010| 01 28 00 00 28 89 00 00 | 00 00 3e e4 01 39 00 00 |.(..(...|..>..9..|
|00003020| 29 59 00 00 00 00 3e ee | 01 4a 00 00 2b 3d 00 00 |)Y....>.|.J..+=..|
|00003030| 00 00 07 63 6f 6d 6d 61 | 6e 64 0f 6d 61 6e 20 6d |...comma|nd.man m|
|00003040| 61 6e 20 67 65 6e 65 72 | 61 6c 11 6d 61 6e 20 6d |an gener|al.man m|
|00003050| 61 6e 20 72 65 73 6f 75 | 72 63 65 73 0f 6d 61 6e |an resou|rces.man|
|00003060| 20 73 65 74 20 67 65 6e | 65 72 61 6c 11 6d 61 6e | set gen|eral.man|
|00003070| 20 75 6e 73 65 74 20 67 | 65 6e 65 72 61 6c 0f 6d | unset g|eneral.m|
|00003080| 61 6e 20 65 6e 76 20 67 | 65 6e 65 72 61 6c 13 6d |an env g|eneral.m|
|00003090| 61 6e 20 70 61 74 68 63 | 68 6b 20 67 65 6e 65 72 |an pathc|hk gener|
|000030a0| 61 6c 11 6d 61 6e 20 77 | 68 69 63 68 20 67 65 6e |al.man w|hich gen|
|000030b0| 65 72 61 6c 10 6d 61 6e | 20 70 61 74 68 20 67 65 |eral.man| path ge|
|000030c0| 6e 65 72 61 6c 0f 6d 61 | 6e 20 70 77 64 20 67 65 |neral.ma|n pwd ge|
|000030d0| 6e 65 72 61 6c 0e 6d 61 | 6e 20 63 64 20 67 65 6e |neral.ma|n cd gen|
|000030e0| 65 72 61 6c 10 6d 61 6e | 20 74 68 65 6e 20 67 65 |eral.man| then ge|
|000030f0| 6e 65 72 61 6c 0e 6d 61 | 6e 20 69 66 20 67 65 6e |neral.ma|n if gen|
|00003100| 65 72 61 6c 10 6d 61 6e | 20 65 6c 73 65 20 67 65 |eral.man| else ge|
|00003110| 6e 65 72 61 6c 11 6d 61 | 6e 20 65 6e 64 69 66 20 |neral.ma|n endif |
|00003120| 67 65 6e 65 72 61 6c 11 | 6d 61 6e 20 77 68 69 6c |general.|man whil|
|00003130| 65 20 67 65 6e 65 72 61 | 6c 11 6d 61 6e 20 75 6e |e genera|l.man un|
|00003140| 74 69 6c 20 67 65 6e 65 | 72 61 6c 0e 6d 61 6e 20 |til gene|ral.man |
|00003150| 64 6f 20 67 65 6e 65 72 | 61 6c 10 6d 61 6e 20 64 |do gener|al.man d|
|00003160| 6f 6e 65 20 67 65 6e 65 | 72 61 6c 10 6d 61 6e 20 |one gene|ral.man |
|00003170| 65 78 69 74 20 67 65 6e | 65 72 61 6c 12 6d 61 6e |exit gen|eral.man|
|00003180| 20 65 78 70 6f 72 74 20 | 67 65 6e 65 72 61 6c | export |general |
+--------+-------------------------+-------------------------+--------+--------+